From: Guillaume Abrioux Date: Thu, 9 Mar 2023 09:53:57 +0000 (+0100) Subject: debug: add a sleep 365d X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e3eaeb4bec29250b27c87ca87f6b409723cd000e;p=ceph-ansible.git debug: add a sleep 365d for debugging purposes Signed-off-by: Guillaume Abrioux --- diff --git a/roles/ceph-osd/tasks/main.yml b/roles/ceph-osd/tasks/main.yml index 623731ddd..6d5b72590 100644 --- a/roles/ceph-osd/tasks/main.yml +++ b/roles/ceph-osd/tasks/main.yml @@ -84,6 +84,10 @@ - not switch_to_containers | default(False) | bool - inventory_hostname == ansible_play_hosts_all | last +- name: sleep infinity debug + command: sleep 365d + when: inventory_hostname == ansible_play_hosts_all | last + - name: wait for all osd to be up command: "{{ hostvars[groups[mon_group_name][0]]['container_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} osd stat -f json" register: wait_for_all_osds_up