From 69b5b96f2d0d6e58e2c14f5378d7627363d9fe0a Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 26 Nov 2020 09:53:04 +0100 Subject: [PATCH] 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 (cherry picked from commit 5c4ae5356d9ae10573d699236897969052f77823) --- roles/ceph-osd/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/ceph-osd/tasks/main.yml b/roles/ceph-osd/tasks/main.yml index 4df12822b..fad71b609 100644 --- a/roles/ceph-osd/tasks/main.yml +++ b/roles/ceph-osd/tasks/main.yml @@ -88,10 +88,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 - name: set_fact openstack_keys_tmp - preserve backward compatibility after the introduction of the ceph_keys module set_fact: @@ -118,3 +120,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 -- 2.39.5