vn-ansible/roles/nsupdate/tasks/main.yaml

13 lines
396 B
YAML
Raw Normal View History

2024-09-23 12:30:38 +00:00
- 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 }}"