mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
Add PTR Examples to nsupdate module
<!--- Add PTR Examples since Nsupdate usage may not be straight forward --> +label: docsite_pr
This commit is contained in:
parent
5e74ecb4fd
commit
7ab67fb2fe
1 changed files with 19 additions and 0 deletions
|
@ -112,6 +112,25 @@ EXAMPLES = '''
|
||||||
record: "puppet"
|
record: "puppet"
|
||||||
type: "CNAME"
|
type: "CNAME"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
- name: Add 1.1.168.192.in-addr.arpa. PTR for ansible.example.org
|
||||||
|
nsupdate:
|
||||||
|
key_name: "nsupdate"
|
||||||
|
key_secret: "+bFQtBCta7j2vWkjPkAFtgA=="
|
||||||
|
server: "10.1.1.1"
|
||||||
|
record: "1.1.168.192.in-addr.arpa."
|
||||||
|
type: "PTR"
|
||||||
|
value: "ansible.example.org."
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Remove 1.1.168.192.in-addr.arpa. PTR
|
||||||
|
nsupdate:
|
||||||
|
key_name: "nsupdate"
|
||||||
|
key_secret: "+bFQtBCta7j2vWkjPkAFtgA=="
|
||||||
|
server: "10.1.1.1"
|
||||||
|
record: "1.1.168.192.in-addr.arpa."
|
||||||
|
type: "PTR"
|
||||||
|
state: absent
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue