dotfiles/roles/ddns/tasks/main.yml

24 lines
518 B
YAML
Raw Normal View History

---
- 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"