ceph-ansible/roles/ceph-common/vars/main.yml

33 lines
1.9 KiB
YAML
Raw Normal View History

---
# ceph-common is always installed, if a package isn't to be installed we replace
# it with 'ceph-common' and run the install with the | unique filter.
debian_ceph_pkgs:
- "ceph"
- "ceph-common"
- "{{ (osd_group_name in group_names) | ternary('ceph-volume', 'ceph-common') }}"
- "{{ (ceph_test | bool) | ternary('ceph-test', 'ceph-common') }}"
- "{{ (rgw_group_name in group_names) | ternary('radosgw', 'ceph-common') }}"
- "{{ (rbdmirror_group_name in group_names) | ternary('ceph-base', 'ceph-common') }}"
redhat_ceph_pkgs:
- "{{ (ceph_test | bool) | ternary('ceph-test', 'ceph-common') }}"
- "ceph-common"
- "{{ (mon_group_name in group_names) | ternary('ceph-mon', 'ceph-common') }}"
- "{{ (osd_group_name in group_names) | ternary('ceph-osd', 'ceph-common') }}"
- "{{ (osd_group_name in group_names) | ternary('ceph-volume', 'ceph-common') }}"
- "{{ (client_group_name in group_names) | ternary('ceph-fuse', 'ceph-common') }}"
- "{{ (client_group_name in group_names) | ternary('ceph-base', 'ceph-common') }}"
- "{{ (rgw_group_name in group_names) | ternary('ceph-radosgw', 'ceph-common') }}"
- "{{ (rbdmirror_group_name in group_names) | ternary('ceph-base', 'ceph-common') }}"
suse_ceph_pkgs:
- "{{ (ceph_test | bool) | ternary('ceph-test', 'ceph-common') }}"
- "ceph-common"
- "{{ (mon_group_name in group_names) | ternary('ceph-mon', 'ceph-common') }}"
- "{{ (osd_group_name in group_names) | ternary('ceph-osd', 'ceph-common') }}"
- "{{ (osd_group_name in group_names) | ternary('ceph-volume', 'ceph-common') }}"
- "{{ (client_group_name in group_names) | ternary('ceph-fuse', 'ceph-common') }}"
- "{{ (client_group_name in group_names) | ternary('ceph-base', 'ceph-common') }}"
- "{{ (rgw_group_name in group_names) | ternary('ceph-radosgw', 'ceph-common') }}"
- "{{ (rbdmirror_group_name in group_names) | ternary('ceph-base', 'ceph-common') }}"