mirror of https://github.com/ceph/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 <gabrioux@redhat.com>
(cherry picked from commit 5c4ae5356d
)
pull/6100/head
parent
7ab606bac5
commit
679d3e2d10
|
@ -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
|
Loading…
Reference in New Issue