infra/roles/pdns/tasks/powerdns-admin.yml

24 lines
487 B
YAML
Raw Normal View History

2024-01-17 17:45:49 +00:00
- 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