diff --git a/playbooks/roles/infra-aws-sandbox/tasks/reset.yml b/playbooks/roles/infra-aws-sandbox/tasks/reset.yml index 0c652eb..aa59c58 100644 --- a/playbooks/roles/infra-aws-sandbox/tasks/reset.yml +++ b/playbooks/roles/infra-aws-sandbox/tasks/reset.yml @@ -67,6 +67,8 @@ async: 3600 poll: 30 delay: 30 + changed_when: >- + 'No resource to delete.' not in _awsnuke.stdout_lines - debug: # stdout and stderr are really not human friendly. keep stdout_lines and stdin_lines @@ -108,6 +110,8 @@ async: 1800 poll: 30 delay: 30 + changed_when: >- + 'No resource to delete.' not in _awsnuke.stdout_lines - debug: var: >-