infra/roles/pdns/tasks/powerdns-admin.yml
2024-01-17 16:46:07 -08:00

23 lines
487 B
YAML

- name: install podman
apt:
name: [podman]
- name: install powerdns-admin service
template:
src: powerdns-admin.service
dest: /etc/systemd/system/powerdns-admin.service
notify:
- systemctl daemon-reload
- restart powerdns-admin
- name: configure powerdns-admin
template:
src: powerdns-admin.env
dest: /etc/powerdns-admin.env
notify:
- restart powerdns-admin
- name: enable powerdns-admin
service:
name: powerdns-admin
enabled: true