Merge pull request #748 from rjeffman/docs_dnsconfig_example_playbooks

dnsconfig: Add 'action: member' to dnsconfig example playbooks.
This commit is contained in:
Thomas Woerner
2022-01-25 12:44:22 +01:00
committed by GitHub
2 changed files with 15 additions and 1 deletions

View File

@@ -4,10 +4,11 @@
become: true
tasks:
- name: Set dnsconfig.
- name: Set dnsconfig forwarders.
ipadnsconfig:
forwarders:
- ip_address: 8.8.4.4
- ip_address: 2001:4860:4860::8888
port: 53
action: member
state: absent

View File

@@ -0,0 +1,13 @@
---
- 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