mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-10 02:35:54 +00:00
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.
14 lines
285 B
YAML
14 lines
285 B
YAML
---
|
|
- 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
|