Skip to content

Commit

Permalink
osd: add tag on 'wait for all osd to be up' task
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
guits committed Dec 1, 2020
1 parent 1831b49 commit 5c4ae53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/ceph-osd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 5c4ae53

Please sign in to comment.