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

12 lines
304 B
YAML
Raw Normal View History

2024-10-03 01:46:55 +00:00
---
- 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() }}"