Skip to content

Commit

Permalink
Sometimes the DNS zones dont exist, just move on (#4532)
Browse files Browse the repository at this point in the history
Co-authored-by: rut31337 <[email protected]>
  • Loading branch information
rut31337 and rut31337 authored Mar 18, 2022
1 parent 50b248e commit 750245f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
when:
- dns_bastion is defined
- dns_bastion == true
ignore_errors: true

- name: Delete delegation for NS to the main DNSZone
azure.azcollection.azure_rm_dnsrecordset:
Expand All @@ -30,6 +31,7 @@
- dns_delegation is defined
- dns_delegation == true
- az_dnszone_resource_group != 'none'
ignore_errors: true

- name: Destroy method resourceGroup (standalone ResourceGroup)
when: az_destroy_method|default('resource_group') == 'resource_group'
Expand Down

0 comments on commit 750245f

Please sign in to comment.