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: RPietrzak <rp.pietrzak@gmail.com>
pull/5760/head v3.2.50
RPietrzak 2020-08-20 15:17:22 +02:00 committed by Guillaume Abrioux
parent e08a5fe555
commit 84edd510d7
1 changed files with 0 additions and 1 deletions

View File

@ -114,7 +114,6 @@
delay: "{{ delay_wait_osd_up }}" delay: "{{ delay_wait_osd_up }}"
changed_when: false changed_when: false
delegate_to: "{{ groups[mon_group_name][0] }}" delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: true
until: 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"] | 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"] - (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"]