ansible/roles/ddclient/tasks/configure.yml
2021-01-09 20:54:42 +03:00

19 lines
369 B
YAML

---
- block:
- name: copy public key for ddclient
copy:
dest: /etc/Kvps.key
src: files/Kvps.key
- name: copy private key for ddclient
copy:
dest: /etc/Kvps.private
src: files/Kvps.private
- name: configure ddlient.conf
copy:
content: "{{ ddclient_conf }}"
dest: "/etc/ddclient.conf"
notify: restart ddclient