2014-09-05 03:14:11 +08:00
|
|
|
---
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: configure debian repository installation
|
|
|
|
include: configure_debian_repository_installation.yml
|
|
|
|
when:
|
|
|
|
- ceph_origin == 'repository'
|
|
|
|
|
2015-05-16 00:27:41 +08:00
|
|
|
- name: install dependencies
|
2015-09-04 00:18:53 +08:00
|
|
|
apt:
|
2016-10-04 22:04:15 +08:00
|
|
|
name: "{{ item }}"
|
2015-09-04 00:18:53 +08:00
|
|
|
state: present
|
|
|
|
update_cache: yes
|
|
|
|
cache_valid_time: 3600
|
2016-11-03 17:16:33 +08:00
|
|
|
with_items: "{{ debian_package_dependencies }}"
|
2014-09-05 03:14:11 +08:00
|
|
|
|
2017-01-31 07:15:08 +08:00
|
|
|
- name: update apt cache
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install ceph debian packages
|
|
|
|
include: install_debian_packages.yml
|
|
|
|
when:
|
|
|
|
- (ceph_origin == 'repository' or ceph_origin == 'distro')
|
|
|
|
- ceph_repository != 'rhcs'
|
2017-03-16 17:17:08 +08:00
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install ceph rhcs debian packages
|
|
|
|
include: 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'
|