infrastructure/playbooks/create-services-for-dnscontrol.yml

9 lines
276 B
YAML

---
- name: Create services for dnscontrol
hosts: localhost
tasks:
- name: Create the services json file
ansible.builtin.copy:
dest: "{{ services_json_file }}"
content: "{{ all_services | services_to_dnscontrol | to_json }}"
mode: "0644"