dotfiles/roles/ddns/tasks/main.yml
Matej Focko b75822372a
feat(ddns): support Porkbun in the DDNS
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-11 17:36:19 +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"