dotfiles/roles/ddns/tasks/main.yml
Matej Focko 2039bf6570
feat(ddns): support Porkbun in the DDNS
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-12 16:40:16 +01:00

23 lines
518 B
YAML

---
- name: Install the config file for DDNS
ansible.builtin.template:
src: templates/ddns.ini
dest: /etc/ddns.ini
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"