]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
osd: add tag on 'wait for all osd to be up' task
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 26 Nov 2020 08:53:04 +0000 (09:53 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 1 Dec 2020 10:00:25 +0000 (11:00 +0100)
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>
roles/ceph-osd/tasks/main.yml

index 481658feb1a3f7248de185188e55c42fe573d019..575318b02dd83065cd72ffca827755894c170b14 100644 (file)
   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
     - 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