Skip to content

Commit

Permalink
Add changed_when to all aws-nuke tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
fridim committed Oct 14, 2024
1 parent 1f3b926 commit 1cc373e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions playbooks/roles/infra-aws-sandbox/tasks/reset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -108,6 +110,8 @@
async: 1800
poll: 30
delay: 30
changed_when: >-
'No resource to delete.' not in _awsnuke.stdout_lines
- debug:
var: >-
Expand Down

0 comments on commit 1cc373e

Please sign in to comment.