20 lines
814 B
YAML
20 lines
814 B
YAML
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
# Configure zones on bind9 with NSUPDATE
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
# Add and update DNS records on bind9 with NSUPDATE
|
|
- name: Add or modify DNS records A to some IP
|
|
community.general.nsupdate:
|
|
key_name: "rndc-key"
|
|
key_secret: "{{ bind9secretkey_password }}"
|
|
key_algorithm: "hmac-md5"
|
|
server: "ns1.verdnatura.es"
|
|
zone: "{{ zone_record }}"
|
|
record: "{{ name_record }}"
|
|
ttl: "{{ ttl_record }}"
|
|
type: "{{ type_record }}"
|
|
value: "{{ value_record }}"
|
|
state: "{{ state_record }}"
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|