3 - "{{ mon_group_name|default('mons') }}"
4 - "{{ osd_group_name|default('osds') }}"
5 - "{{ mds_group_name|default('mdss') }}"
6 - "{{ rgw_group_name|default('rgws') }}"
7 - "{{ mgr_group_name|default('mgrs') }}"
8 - "{{ rbdmirror_group_name|default('rbdmirrors') }}"
9 - "{{ nfs_group_name|default('nfss') }}"
10 - "{{ iscsi_gw_group_name|default('iscsigws') }}"
11 - "{{ monitoring_group_name|default('monitoring') }}"
15 - name: set ceph node exporter install 'In Progress'
19 installer_phase_ceph_node_exporter:
21 start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
26 tags: ['ceph_update_config']
29 tags: ['ceph_update_config']
31 name: ceph-container-engine
33 name: ceph-container-common
36 - not containerized_deployment | bool
37 - ceph_docker_registry_auth | bool
39 name: ceph-node-exporter
42 - name: set ceph node exporter install 'Complete'
46 installer_phase_ceph_node_exporter:
48 end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
50 - hosts: "{{ monitoring_group_name }}"
54 - name: set ceph grafana install 'In Progress'
58 installer_phase_ceph_grafana:
60 start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
65 tags: ['ceph_update_config']
68 tags: ['ceph_update_config']
72 tags: ['ceph_update_config']
79 - name: set ceph grafana install 'Complete'
83 installer_phase_ceph_grafana:
85 end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
87 # using groups[] here otherwise it can't fallback to the mon if there's no mgr group.
88 # adding an additional | default(omit) in case where no monitors are present (external ceph cluster)
89 - hosts: "{{ groups[mgr_group_name] | default(groups[mon_group_name]) | default(omit) }}"
93 - name: set ceph dashboard install 'In Progress'
97 installer_phase_ceph_dashboard:
99 start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
104 tags: ['ceph_update_config']
107 tags: ['ceph_update_config']
111 tags: ['ceph_update_config']
116 - name: set ceph dashboard install 'Complete'
120 installer_phase_ceph_dashboard:
122 end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"