fix loop label

This commit is contained in:
Robert Kaussow 2020-05-13 13:01:03 +02:00
parent e1c207c028
commit b5c13c2149

View File

@ -25,5 +25,5 @@
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 default('corenetworks_dns_default_zone') }}:{{ item.record | default('@') }}" label: "{{ item.zone | default('corenetworks_dns_default_zone') }}:{{ item.record | default('@') }}"
delegate_to: "{{ corenetworks_dns_delegate_to }}" delegate_to: "{{ corenetworks_dns_delegate_to }}"