dotfiles/roles/ddns/tasks/main.yml
Matej Focko 9c5a185588
feat(ddns): support Porkbun in the DDNS
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-11 17:30:02 +01:00

23 lines
519 B
YAML

---
- name: Install the config file for DDNS
ansible.builtin.template:
src: templates/ddns.ini
dest: /etc/ddns.conf
mode: 0600
owner: root
group: root
- name: Install the DDNS quadlet
ansible.builtin.template:
src: templates/ddns.container
dest: /etc/containers/systemd/ddns.container
mode: 0644
owner: root
group: root
- name: Enable the DDNS quadlet
ansible.builtin.systemd_service:
daemon_reload: true
enabled: true
name: ddns.service
state: "started"