Commit 84edd510 authored by RPietrzak's avatar RPietrzak Committed by Guillaume Abrioux
Browse files

Remove 'run_once: true' from wait 'for all osd to be up' task in ceph-osd/tasks/main.yml role.


This together with condition 'ansible_play_hosts_all | last' causes skipping that task on the first host.
Signed-off-by: default avatarRPietrzak <rp.pietrzak@gmail.com>
parent e08a5fe5
......@@ -114,7 +114,6 @@
delay: "{{ delay_wait_osd_up }}"
changed_when: false
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: true
until:
- (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_osds"] | int > 0
- (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_osds"] == (wait_for_all_osds_up.stdout | from_json)["osdmap"]["osdmap"]["num_up_osds"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment