fix loop label
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-05-13 12:58:52 +02:00
parent 97af7700c9
commit 9fdc72106a

View File

@ -18,7 +18,7 @@
state: "{{ item.state | default('present') }}" state: "{{ item.state | default('present') }}"
loop: "{{ ucs_dns_records + ucs_dns_records_extra }}" loop: "{{ ucs_dns_records + ucs_dns_records_extra }}"
loop_control: loop_control:
label: "{{ item.zone }}:{{ item.name }}" label: "{{ item.zone | default('ucs_dns_default_zone') }}:{{ item.name }}"
delegate_to: "{{ ucs_dns_delegate_to }}" delegate_to: "{{ ucs_dns_delegate_to }}"
become: True become: True
become_user: root become_user: root