2016-03-09 05:23:32 +08:00
|
|
|
---
|
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') }}"
|
2016-05-09 22:08:33 +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') }}"
|
2016-05-09 22:08:33 +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') }}"
|
2016-05-09 22:08:33 +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') }}"
|
|
|
|
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 mds for debian
|
2016-05-19 22:56:06 +08:00
|
|
|
apt:
|
|
|
|
pkg: ceph-mds
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
|
|
|
when: mds_group_name in group_names
|
2016-06-01 00:09:50 +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') }}"
|
|
|
|
when: client_group_name in group_names
|
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install red hat storage ceph-common for debian
|
2016-06-01 00:09:50 +08:00
|
|
|
apt:
|
|
|
|
pkg: ceph-common
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
|
|
|
when: client_group_name in group_names
|
2016-05-06 02:20:03 +08:00
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install red hat storage nfs gateway for debian
|
2016-05-06 02:20:03 +08:00
|
|
|
apt:
|
2017-08-21 20:38:21 +08:00
|
|
|
name: nfs-ganesha
|
2016-05-06 02:20:03 +08:00
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
|
|
|
when: nfs_group_name in group_names
|
2017-04-17 21:40:24 +08:00
|
|
|
|
2017-08-21 20:38:21 +08:00
|
|
|
- name: install red hat storage nfs file gateway
|
|
|
|
apt:
|
|
|
|
name: nfs-ganesha-ceph
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
|
|
|
when:
|
|
|
|
- nfs_group_name in group_names
|
|
|
|
- nfs_file_gw
|
|
|
|
|
|
|
|
- name: install red hat storage nfs obj gateway
|
|
|
|
apt:
|
|
|
|
name: nfs-ganesha-rgw
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
|
|
|
when:
|
|
|
|
- nfs_group_name in group_names
|
|
|
|
- nfs_obj_gw
|
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: install ceph mgr for debian
|
2017-04-17 21:40:24 +08:00
|
|
|
apt:
|
|
|
|
pkg: ceph-mgr
|
|
|
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
2017-05-04 17:14:58 +08:00
|
|
|
when:
|
|
|
|
- mgr_group_name in group_names
|
|
|
|
- ceph_release_num.{{ ceph_release }} > ceph_release_num.jewel
|