We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f199d commit c44b232Copy full SHA for c44b232
tests/roles/ceph_migrate/tasks/post.yaml
@@ -11,3 +11,19 @@
11
vars:
12
shell_header: "set -euo pipefail"
13
when: ceph_daemons_layout.rgw | default(true) | bool
14
+
15
+- name: Remove faulty mgr
16
+ delegate_to: "{{ groups['ComputeHCI'][0] | default(inventory_hostname) }}"
17
+ when:
18
+ - groups['ComputeHCI'] is defined
19
+ - groups['ComputeHCI'] | length > 0
20
+ - ceph is defined
21
+ - ceph.health.status is defined
22
+ - ceph.health.status != 'HEALTH_OK'
23
+ block:
24
+ - name: Include fail_mgr tasks
25
+ ansible.builtin.include_tasks: fail_mgr.yaml
26
+ vars:
27
+ ceph_config_home: /etc/ceph
28
+ ceph_fsid: "{{ mon_dump.fsid }}"
29
+ ceph_cluster: ceph
0 commit comments