File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 # Optional: Set to true to remove associated volumes
99 remove_volumes : false
1010 # Optional: Set to false to preserve DNS records (default: true)
11+ # Note: automatically skipped when tearing down the dns stack itself
1112 remove_dns : true
1213 # Optional: Set to false to preserve uptime monitoring (default: true)
1314 remove_uptime : true
8384 ansible.builtin.include_role :
8485 name : dns
8586 tasks_from : get-token
86- when : remove_dns | bool
87+ when : remove_dns | bool and stack_name != 'dns'
8788
8889 - name : Remove DNS records for stack
8990 ansible.builtin.include_role :
9091 name : dns
9192 tasks_from : remove-service-cnames
92- when : remove_dns | bool
93+ when : remove_dns | bool and stack_name != 'dns'
9394
9495 - name : Get uptime API token
9596 ansible.builtin.include_role :
You can’t perform that action at this time.
0 commit comments