From: Guillaume Abrioux Date: Thu, 26 Nov 2020 08:53:04 +0000 (+0100) Subject: osd: add tag on 'wait for all osd to be up' task X-Git-Tag: v6.0.0alpha3~14 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5c4ae5356d9ae10573d699236897969052f77823;p=ceph-ansible.git osd: add tag on 'wait for all osd to be up' task This allows skipping this task if really desired. Use it carefully. Use it at your own risk. Fixes: #6073 Signed-off-by: Guillaume Abrioux --- diff --git a/roles/ceph-osd/tasks/main.yml b/roles/ceph-osd/tasks/main.yml index 481658feb..575318b02 100644 --- a/roles/ceph-osd/tasks/main.yml +++ b/roles/ceph-osd/tasks/main.yml @@ -97,10 +97,12 @@ when: - not ansible_check_mode - inventory_hostname == ansible_play_hosts_all | last + tags: wait_all_osds_up - name: include crush_rules.yml include_tasks: crush_rules.yml when: hostvars[groups[mon_group_name][0]]['crush_rule_config'] | default(crush_rule_config) | bool + tags: wait_all_osds_up # Create the pools listed in openstack_pools - name: include openstack_config.yml @@ -110,3 +112,4 @@ - not rolling_update | default(False) | bool - openstack_config | bool - inventory_hostname == groups[osd_group_name] | last + tags: wait_all_osds_up \ No newline at end of file