Commit Graph

8 Commits

Author SHA1 Message Date
547928426b Add my changes 2021-01-04 22:34:08 +01:00
Baptiste Jonglez
3f225e7ec7 Remove deprecated dict.iteritems method
It caused ansible to fail with:

  fatal: [XXX]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'"}

This method has been removed in Python3: https://docs.ansible.com/ansible/2.5/dev_guide/testing/sanity/no-dict-iteritems.html
2018-05-25 15:57:35 +02:00
Baptiste Jonglez
3dfe3fef0d Rename nsd_common_config to nsd_server_config and nsd_local_config to nsd_local_server_config 2017-09-01 15:24:13 +02:00
Baptiste Jonglez
cdf6821679 nsd: adapt for new version of NSD and allow to configure most parameters related to version (nsd3/nsd4) 2017-09-01 10:58:48 +02:00
Baptiste Jonglez
b4dd5c9066 NSD: Avoid duplicating the 'list expansion' code in template 2017-09-01 10:20:48 +02:00
Baptiste Jonglez
a5d94f234a NSD: Allow global or local configuration to be missing 2017-09-01 10:20:48 +02:00
Baptiste Jonglez
eef721d276 NSD: Simplify configuration to use only one file for all zones, instead of many includes
This also allows the playbook to be idempotent.
2017-09-01 10:20:48 +02:00
Baptiste Jonglez
adc9f0b18e NSD: first playbook, still rough around the edges (no TSIG support) 2016-03-26 17:56:52 +01:00