From e3eaeb4bec29250b27c87ca87f6b409723cd000e Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 9 Mar 2023 10:53:57 +0100 Subject: [PATCH] debug: add a sleep 365d for debugging purposes Signed-off-by: Guillaume Abrioux --- roles/ceph-osd/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) 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