Skip to content

Commit

Permalink
Update zones.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
darrindg91 authored Aug 26, 2022
1 parent 73be052 commit ddb0132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/zones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
loop_control:
label: "{{ item.1 }}"
when: >
(item.create_reverse_zones is not defined or item.create_reverse_zones) and
(item[0].create_reverse_zones is not defined or item[0].create_reverse_zones) and
((item[0].type is defined and item[0].type == 'primary') or
(item[0].type is not defined and item[0].primaries is defined and
(host_all_addresses | intersect(item[0].primaries) | length > 0)))
Expand All @@ -143,7 +143,7 @@
loop_control:
label: "{{ item.1 }}"
when: >
(item.create_reverse_zones is not defined or item.create_reverse_zones) and
(item[0].create_reverse_zones is not defined or item[0].create_reverse_zones) and
((item[0].type is defined and item[0].type == 'primary') or
(item[0].type is not defined and item[0].primaries is defined and
(host_all_addresses | intersect(item[0].primaries) | length > 0)))
Expand Down

0 comments on commit ddb0132

Please sign in to comment.