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>pull/6096/head
parent
1831b4955f
commit
5c4ae5356d
|
@ -97,10 +97,12 @@
|
||||||
when:
|
when:
|
||||||
- not ansible_check_mode
|
- not ansible_check_mode
|
||||||
- inventory_hostname == ansible_play_hosts_all | last
|
- inventory_hostname == ansible_play_hosts_all | last
|
||||||
|
tags: wait_all_osds_up
|
||||||
|
|
||||||
- name: include crush_rules.yml
|
- name: include crush_rules.yml
|
||||||
include_tasks: crush_rules.yml
|
include_tasks: crush_rules.yml
|
||||||
when: hostvars[groups[mon_group_name][0]]['crush_rule_config'] | default(crush_rule_config) | bool
|
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
|
# Create the pools listed in openstack_pools
|
||||||
- name: include openstack_config.yml
|
- name: include openstack_config.yml
|
||||||
|
@ -110,3 +112,4 @@
|
||||||
- not rolling_update | default(False) | bool
|
- not rolling_update | default(False) | bool
|
||||||
- openstack_config | bool
|
- openstack_config | bool
|
||||||
- inventory_hostname == groups[osd_group_name] | last
|
- inventory_hostname == groups[osd_group_name] | last
|
||||||
|
tags: wait_all_osds_up
|
Loading…
Reference in New Issue