Commit 7965c3ab authored by Lindsay Harvey's avatar Lindsay Harvey
Browse files

Bug fix due to role erroring out when adding TXT records

parent 4ab309f2
......@@ -29,9 +29,8 @@
- records
- name: add records
command: pdnsutil add-record {{ item.0.name }} {{ item.1.name }} {{ item.1.type }} "{{ item.1.content }}"
command: pdnsutil add-record {{ item.0.name }} {{ item.1.name }} {{ item.1.type }} '{{ item.1.content }}'
when: item.1.state is not defined or (item.1.state is defined and item.1.state == 'present')
with_subelements:
- "{{ pdns_zones | selectattr('records', 'defined') | list }}"
- records
- records
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment