2024-07-10 16:45:45 +02:00
|
|
|
---
|
2024-11-11 17:30:02 +01:00
|
|
|
- name: Install the config file for DDNS
|
2024-07-10 16:45:45 +02:00
|
|
|
ansible.builtin.template:
|
2024-11-11 17:30:02 +01:00
|
|
|
src: templates/ddns.ini
|
|
|
|
dest: /etc/ddns.ini
|
2024-07-10 16:45:45 +02:00
|
|
|
mode: 0600
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
2024-11-11 17:30:02 +01:00
|
|
|
- name: Install the DDNS quadlet
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: templates/ddns.container
|
|
|
|
dest: /etc/containers/systemd/ddns.container
|
2024-07-10 16:45:45 +02:00
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
2024-11-11 17:30:02 +01:00
|
|
|
- name: Enable the DDNS quadlet
|
2024-07-10 16:45:45 +02:00
|
|
|
ansible.builtin.systemd_service:
|
|
|
|
daemon_reload: true
|
|
|
|
enabled: true
|
2024-11-11 17:30:02 +01:00
|
|
|
name: ddns.service
|
2024-07-10 16:45:45 +02:00
|
|
|
state: "started"
|