]> git-server-git.apps.pok.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, 15 Dec 2020 16:32:09 +0000 (17:32 +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>
(cherry picked from commit 5c4ae5356d9ae10573d699236897969052f77823)

roles/ceph-osd/tasks/main.yml

index 4df12822b24ca7b98199003af595150f6c8573aa..fad71b60972e96efa51051d25f41609b019871e5 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
 
 - name: set_fact openstack_keys_tmp - preserve backward compatibility after the introduction of the ceph_keys module
   set_fact:
     - 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