Improve dnsconfig a bit

This commit is contained in:
Tobias Reisinger 2024-10-29 14:10:54 +01:00
parent 53d9cd1190
commit 6fadc45e24
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 20 additions and 9 deletions

View 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() }}"