]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Remove 'run_once: true' from wait 'for all osd to be up' task in ceph-osd/tasks/main... v3.2.50
authorRPietrzak <rp.pietrzak@gmail.com>
Thu, 20 Aug 2020 13:17:22 +0000 (15:17 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 21 Aug 2020 13:58:31 +0000 (15:58 +0200)
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>
roles/ceph-osd/tasks/main.yml

index e6645cf415fc97bdc2e739a47715821727909a9f..3ddb307c88795e65b5cbcec22f255165a0285956 100644 (file)
   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"]