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 <gabrioux@redhat.com>
(cherry picked from commit 5c4ae5356d)
pull/6100/head
Guillaume Abrioux 2020-11-26 09:53:04 +01:00
parent 7ab606bac5
commit 679d3e2d10
1 changed files with 3 additions and 0 deletions

View File

@ -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
# Create the pools listed in openstack_pools
- name: include openstack_config.yml
@ -101,3 +103,4 @@
- not rolling_update | default(False) | bool
- openstack_config | bool
- inventory_hostname == groups[osd_group_name] | last
tags: wait_all_osds_up