fix loop label

This commit is contained in:
Robert Kaussow 2020-05-13 12:58:25 +02:00
parent 681ca1c44c
commit e1c207c028

View File

@ -25,5 +25,5 @@
state: "{{ item.state | default('present') }}"
loop: "{{ corenetworks_dns_records + corenetworks_dns_records_extra }}"
loop_control:
label: "{{ item.zone }}:{{ item.record | default('@') }}"
label: "{{ item.zone default('corenetworks_dns_default_zone') }}:{{ item.record | default('@') }}"
delegate_to: "{{ corenetworks_dns_delegate_to }}"