16 lines
300 B
YAML
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
|