2014-09-05 03:14:11 +08:00
|
|
|
---
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include configure_debian_repository_installation.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: configure_debian_repository_installation.yml
|
2017-08-03 21:30:25 +08:00
|
|
|
when:
|
|
|
|
- ceph_origin == 'repository'
|
|
|
|
|
2018-04-26 17:42:11 +08:00
|
|
|
- name: update apt cache if cache_valid_time has expired
|
2015-09-04 00:18:53 +08:00
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
cache_valid_time: 3600
|
2018-12-20 17:00:26 +08:00
|
|
|
register: result
|
|
|
|
until: result is succeeded
|
2014-09-05 03:14:11 +08:00
|
|
|
|
2018-04-26 17:42:11 +08:00
|
|
|
- name: install dependencies
|
2017-01-31 07:15:08 +08:00
|
|
|
apt:
|
2018-04-26 17:42:11 +08:00
|
|
|
name: "{{ debian_package_dependencies }}"
|
|
|
|
state: present
|
2017-01-31 07:15:08 +08:00
|
|
|
update_cache: yes
|
2018-04-26 17:42:11 +08:00
|
|
|
cache_valid_time: 3600
|
2018-12-19 21:55:01 +08:00
|
|
|
register: result
|
|
|
|
until: result is succeeded
|
2017-01-31 07:15:08 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include install_debian_packages.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: install_debian_packages.yml
|
2017-08-03 21:30:25 +08:00
|
|
|
when:
|
|
|
|
- (ceph_origin == 'repository' or ceph_origin == 'distro')
|
|
|
|
- ceph_repository != 'rhcs'
|
2017-03-16 17:17:08 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include install_debian_rhcs_packages.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: install_debian_rhcs_packages.yml
|
2017-05-04 17:14:58 +08:00
|
|
|
when:
|
2017-08-03 21:30:25 +08:00
|
|
|
- (ceph_origin == 'repository' or ceph_origin == 'distro')
|
|
|
|
- ceph_repository == 'rhcs'
|