From d33a77326cc49a55e00ad0b2fce9c10a38afb95d Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 3 Oct 2020 23:42:15 +0200 Subject: [PATCH] debug --- molecule/centos7/destroy.yml | 2 ++ molecule/centos8/destroy.yml | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/molecule/centos7/destroy.yml b/molecule/centos7/destroy.yml index 379145b..bf13988 100644 --- a/molecule/centos7/destroy.yml +++ b/molecule/centos7/destroy.yml @@ -43,6 +43,8 @@ when: item.volume | default(False) | bool async: 7200 poll: 0 + retries: 5 + until: volumes is not failed - name: Wait for volume(s) deletion to complete async_status: diff --git a/molecule/centos8/destroy.yml b/molecule/centos8/destroy.yml index 1e9057c..bf13988 100644 --- a/molecule/centos8/destroy.yml +++ b/molecule/centos8/destroy.yml @@ -3,7 +3,7 @@ hosts: localhost connection: local gather_facts: false - #no_log: "{{ molecule_no_log }}" + no_log: "{{ molecule_no_log }}" tasks: - name: Check existing instance config file stat: @@ -23,7 +23,6 @@ loop: "{{ instance_conf }}" async: 7200 poll: 0 - no_log: True - name: Wait for instance(s) deletion to complete async_status: @@ -32,7 +31,6 @@ until: hetzner_jobs.finished retries: 300 loop: "{{ server.results }}" - no_log: True - name: Destroy volume(s) hcloud_volume: @@ -45,7 +43,7 @@ when: item.volume | default(False) | bool async: 7200 poll: 0 - retries: 3 + retries: 5 until: volumes is not failed - name: Wait for volume(s) deletion to complete