'installer_phase_ceph_rbdmirror',
'installer_phase_ceph_client',
'installer_phase_ceph_iscsi_gw',
+ 'installer_phase_ceph_rgw_loadbalancer',
]
# Define the attributes of the installer phases
'title': 'Install Ceph iSCSI Gateway',
'playbook': 'roles/ceph-iscsi-gw/tasks/main.yml'
},
+ 'installer_phase_ceph_rgw_loadbalancer': {
+ 'title': 'Install Ceph RGW LoadBalancer',
+ 'playbook': 'roles/ceph-rgw-loadbalancer/tasks/main.yml'
+ },
}
# Find the longest phase title
- iscsigws
- iscsi-gws # for backward compatibility only!
- grafana-server
+ - rgwloadbalancers
gather_facts: false
any_errors_fatal: true
status: "Complete"
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
+- hosts:
+ - rgwloadbalancers
+ gather_facts: false
+ become: True
+ any_errors_fatal: true
+ pre_tasks:
+ - name: set ceph rgw loadbalancer install 'In Progress'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_ceph_rgw_loadbalancer:
+ status: "In Progress"
+ start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
+
+ tasks:
+ - import_role:
+ name: ceph-defaults
+ tags: ['ceph_update_config']
+ - import_role:
+ name: ceph-facts
+ tags: ['ceph_update_config']
+ - import_role:
+ name: ceph-rgw-loadbalancer
+
+ post_tasks:
+ - name: set ceph rgw loadbalancer install 'Complete'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_ceph_rgw_loadbalancer:
+ status: "Complete"
+ end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
+
- hosts: mons
gather_facts: false
become: True