3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-01-19 22:35:19 +00:00

Added containerization

This commit is contained in:
Scott Crossen
2020-10-16 21:21:58 -07:00
parent 53bc7a77e1
commit 51cca4c312
12 changed files with 211 additions and 40 deletions

View File

@@ -0,0 +1,25 @@
---
- name: Ensure ddclient domain config exists
template:
src: "{{ role_path }}/templates/ddclient.conf.j2"
dest: "/etc/ddclient.conf"
mode: 0600
- name: Ensure ddclient client config directory exists
file:
path: "/etc/default"
state: directory
mode: 0700
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure ddclient client config exists
copy:
content: "run_dhclient=\"true\"\nrun_ipup=\"false\"\nrun_daemon=\"false\""
dest: "/etc/default/ddclient"
mode: 0600
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- import_tasks: "{{ role_path }}/tasks/platform/main.yml"