Skip to content

Commit 0522985

Browse files
committed
fix: wrong indentation
1 parent b1b1895 commit 0522985

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

etc/kayobe/ansible/cephadm-enter-maintenance.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
- "orch host ok-to-stop {{ ansible_facts.nodename }}"
1313

1414
- block:
15-
- name: Extract full name of active Ceph manager
16-
ansible.builtin.set_fact:
15+
- name: Extract full name of active Ceph manager
16+
ansible.builtin.set_fact:
1717
active_ceph_mgr: "{{ cephadm_commands_result.results[0].stderr | split | last | replace(\"'\",'') }}"
1818

19-
- name: Ensure active manager has been switched to another node
20-
import_role:
21-
name: stackhpc.cephadm.commands
22-
vars:
23-
cephadm_commands:
24-
- "mgr fail {{ active_ceph_mgr }}"
19+
- name: Ensure active manager has been switched to another node
20+
import_role:
21+
name: stackhpc.cephadm.commands
22+
vars:
23+
cephadm_commands:
24+
- "mgr fail {{ active_ceph_mgr }}"
2525
when: '"Cannot stop active Mgr daemon" in cephadm_commands_result.results[0].stderr'
2626

2727
- name: Ensure host is in maintenance mode

0 commit comments

Comments
 (0)