2016-03-09 05:23:32 +08:00
|
|
|
---
|
2017-11-23 00:11:50 +08:00
|
|
|
- name: install red hat storage ceph-common for debian
|
|
|
|
apt:
|
|
|
|
pkg: ceph-common
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install red hat storage ceph mon for debian
|
2016-03-09 05:23:32 +08:00
|
|
|
apt:
|
2016-03-09 06:05:19 +08:00
|
|
|
name: ceph-mon
|
2016-03-09 05:23:32 +08:00
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
2017-09-15 06:48:53 +08:00
|
|
|
when:
|
|
|
|
- mon_group_name in group_names
|
2016-03-09 05:23:32 +08:00
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install red hat storage ceph osd for debian
|
2016-03-09 05:23:32 +08:00
|
|
|
apt:
|
2016-03-09 06:05:19 +08:00
|
|
|
name: ceph-osd
|
2016-03-09 05:23:32 +08:00
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
2017-09-15 06:48:53 +08:00
|
|
|
when:
|
|
|
|
- osd_group_name in group_names
|
2016-03-09 05:23:32 +08:00
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install ceph-test for debian
|
2016-03-09 05:23:32 +08:00
|
|
|
apt:
|
|
|
|
name: ceph-test
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
2017-09-15 06:48:53 +08:00
|
|
|
when:
|
|
|
|
- ceph_test
|
2016-05-19 22:52:18 +08:00
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install red hat storage radosgw for debian
|
2016-05-19 22:52:18 +08:00
|
|
|
apt:
|
|
|
|
name: radosgw
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
2017-09-15 06:48:53 +08:00
|
|
|
when:
|
|
|
|
- rgw_group_name in group_names
|
2016-05-19 22:56:06 +08:00
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install red hat storage ceph-fuse client for debian
|
2016-09-23 11:00:02 +08:00
|
|
|
apt:
|
|
|
|
pkg: ceph-fuse
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
2017-09-15 06:48:53 +08:00
|
|
|
when:
|
|
|
|
- client_group_name in group_names
|