File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 12
12
- " orch host ok-to-stop {{ ansible_facts.nodename }}"
13
13
14
14
- 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 :
17
17
active_ceph_mgr : " {{ cephadm_commands_result.results[0].stderr | split | last | replace(\" '\" ,'') }}"
18
18
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 }}"
25
25
when : ' "Cannot stop active Mgr daemon" in cephadm_commands_result.results[0].stderr'
26
26
27
27
- name : Ensure host is in maintenance mode
You can’t perform that action at this time.
0 commit comments