diff --git a/tasks/main.yml b/tasks/main.yml index 3eb43e4..05d35d2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -31,7 +31,7 @@ template: src: zonefile.db.j2 dest: "/etc/powerdns/tpl/{{ item }}" - with_items: "{{ dnsserver.zones.keys() }}" + with_items: "{{ dnsserver.zones.keys()|list }}" register: zonefilestask notify: - copy zone