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 317fe17 commit 3094cfdCopy full SHA for 3094cfd
roles/cephadm/tasks/osds.yml
@@ -7,7 +7,7 @@
7
ceph orch daemon add osd {{ ansible_facts.hostname }}:{{ item }}
8
become: true
9
register: osd_add_result
10
- changed_when: osd_add_result.stdout != "Created no osd(s) on host " + ansible_facts.hostname + "; already created?"
+ changed_when: not osd_add_result.stdout.startswith("Created no osd(s) on host")
11
delegate_to: "{{ omit if 'mons' in group_names else groups['mons'][0] }}"
12
when: cephadm_osd_devices | length > 0
13
with_items: "{{ cephadm_osd_devices }}"
0 commit comments