- name: Externalize Ceph hosts: "{{ groups['overcloud'][0] | default([]) }}" gather_facts: true tasks: # Load src Ceph cluster data - name: Load Ceph data ansible.builtin.import_role: name: ceph_migrate tasks_from: ceph_load tags: - ceph_load - always # Verify the status of the src Ceph cluster - name: Validations ansible.builtin.import_role: name: ceph_migrate tasks_from: ceph_validate tags: - ceph_validate - always # Check that the required container images are in place - name: Containers ansible.builtin.import_role: name: ceph_migrate tasks_from: ceph_containers tags: - ceph_containers - always # Add firewall rules - name: Firewall ansible.builtin.import_role: name: ceph_migrate tasks_from: ceph_firewall tags: - ceph_firewall - always # Monitoring Stack migration - name: Monitoring when: ceph_daemons_layout.monitoring | default(true) | bool ansible.builtin.import_role: name: ceph_migrate tasks_from: monitoring tags: - ceph_monitoring # MDS migration - name: MDS when: ceph_daemons_layout.mds | default(true) | bool ansible.builtin.import_role: name: ceph_migrate tasks_from: mds tags: - ceph_mds # RGW migration - name: RGW when: ceph_daemons_layout.rgw | default(true) | bool ansible.builtin.import_role: name: ceph_migrate tasks_from: rgw tags: - ceph_rgw # Migrate Ceph RBD - name: RBD when: ceph_daemons_layout.rbd | default(true) | bool ansible.builtin.import_role: name: ceph_migrate tasks_from: rbd tags: - ceph_rbd # Dump Ceph Cluster logs to file - name: POST ansible.builtin.import_role: name: ceph_migrate tasks_from: post tags: - ceph_post