forked from finallycoffee/base
feat: add finallycoffee.base.dns role
This commit is contained in:
parent
f72dd239f9
commit
52bf02e084
2
roles/dns/defaults/main.yml
Normal file
2
roles/dns/defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
dns_record_state: present
|
11
roles/dns/tasks/main.yml
Normal file
11
roles/dns/tasks/main.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Ensure DNS records in '{{ dns_zone }}' are up to date
|
||||||
|
famedly.dns.update:
|
||||||
|
primary_master: "{{ dns_server }}"
|
||||||
|
zone: "{{ dns_zone }}"
|
||||||
|
tsig_name: "{{ dns_tsig_name }}"
|
||||||
|
tsig_algo: "{{ dns_tsig_algo }}"
|
||||||
|
tsig_key: "{{ dns_tsig_key }}"
|
||||||
|
rr_set: "{{ dns_records }}"
|
||||||
|
state: "{{ dns_record_state }}"
|
Loading…
Reference in New Issue
Block a user