updated role to work with ansible 2.6

This commit is contained in:
nd 2018-08-14 03:19:56 +02:00
parent 536df4f7dd
commit da753456a7
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -31,7 +31,7 @@
template: template:
src: zonefile.db.j2 src: zonefile.db.j2
dest: "/etc/powerdns/tpl/{{ item }}" dest: "/etc/powerdns/tpl/{{ item }}"
with_items: "{{ dnsserver.zones.keys() }}" with_items: "{{ dnsserver.zones.keys()|list }}"
register: zonefilestask register: zonefilestask
notify: notify:
- copy zone - copy zone