Improve dnsconfig a bit
This commit is contained in:
parent
53d9cd1190
commit
6fadc45e24
5 changed files with 20 additions and 9 deletions
playbooks
11
playbooks/create-services-for-dnscontrol.yml
Normal file
11
playbooks/create-services-for-dnscontrol.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- name: Create services for dnscontrol
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- name: Create the services json file
|
||||
ansible.builtin.template:
|
||||
src: "json.j2"
|
||||
dest: "{{ services_json_file }}"
|
||||
mode: "0644"
|
||||
vars:
|
||||
json: "{{ all_services | services_to_dnscontrol() }}"
|
Loading…
Add table
Add a link
Reference in a new issue