1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/matrix-dynamic-dns/tasks/install.yml

24 lines
618 B
YAML
Raw Normal View History

2020-10-14 01:18:38 +02:00
---
- name: Ensure ddclient domain config exists
template:
src: "{{ role_path }}/templates/ddclient.conf.j2"
dest: "/etc/ddclient.conf"
mode: 0600
register: matrix_dynamic_dns_ddclient_domain_config
- name: Ensure ddclient client config directory exists
file:
path: "/etc/default"
state: directory
mode: 0700
owner: "{{ user_username }}"
group: "{{ user_groupname }}"
- name: Ensure ddclient client config exists
template:
src: "{{ role_path }}/templates/ddclient.j2"
dest: "/etc/default/ddclient"
mode: 0600
register: matrix_dynamic_dns_ddclient_client_config