This commit is contained in:
Robert Kaussow 2020-05-13 12:55:08 +02:00
parent 9f440eddfd
commit 681ca1c44c

View File

@ -23,7 +23,7 @@
type: "{{ item.type | default(omit) }}" type: "{{ item.type | default(omit) }}"
value: "{{ item.value | default(omit) }}" value: "{{ item.value | default(omit) }}"
state: "{{ item.state | default('present') }}" state: "{{ item.state | default('present') }}"
loop: corenetworks_dns_records + corenetworks_dns_records_extra loop: "{{ corenetworks_dns_records + corenetworks_dns_records_extra }}"
loop_control: loop_control:
label: "{{ item.zone }}:{{ item.record | default('@') }}" label: "{{ item.zone }}:{{ item.record | default('@') }}"
delegate_to: "{{ corenetworks_dns_delegate_to }}" delegate_to: "{{ corenetworks_dns_delegate_to }}"