homeserver-iac/roles/networking/ddclient/tasks/main.yml
2023-08-21 17:19:29 -04:00

16 lines
300 B
YAML

- name: Install packages
community.general.pacman:
name: ddclient
state: present
- name: Configure dynamic DNS
template:
src: ddclient.conf.j2
dest: /etc/ddclient/ddclient.conf
- name: Enable dynamic DNS service
service:
name: ddclient
enabled: yes
state: started