Skip to content
Snippets Groups Projects
Commit 45f583b1 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

dnsconfig: Add 'action: member' to dnsconfig example playbooks.

As of verison 1.6.1 of ansible-freeipa, ipadnsconfig supports
'action: member' to manage DNS forwardes, and requires the use of this
action if 'state: present'.

This patch fixes the playbook examples.
parent 2de1dccb
No related branches found
No related tags found
No related merge requests found
...@@ -4,10 +4,11 @@ ...@@ -4,10 +4,11 @@
become: true become: true
tasks: tasks:
- name: Set dnsconfig. - name: Set dnsconfig forwarders.
ipadnsconfig: ipadnsconfig:
forwarders: forwarders:
- ip_address: 8.8.4.4 - ip_address: 8.8.4.4
- ip_address: 2001:4860:4860::8888 - ip_address: 2001:4860:4860::8888
port: 53 port: 53
action: member
state: absent state: absent
---
- name: Playbook to handle global DNS configuration
hosts: ipaserver
become: true
tasks:
- name: Set dnsconfig forwarders.
ipadnsconfig:
forwarders:
- ip_address: 8.8.4.4
- ip_address: 2001:4860:4860::8888
port: 53
action: member
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment