24 lines
487 B
YAML
24 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
|