Added new openvpn config

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-05-08 09:40:58 +02:00
parent 76a5ef1781
commit bf35d9cb82
4 changed files with 21 additions and 2 deletions

View File

@@ -14,6 +14,12 @@
# tags:
# - reload_compose
- name: Copy the compose file
template:
src: templates/{{ inventory_hostname }}/compose.yaml
dest: "{{ docker_compose_dir }}/compose.yaml"
register: compose
- include_tasks: "{{ inventory_hostname }}_compose.yml"
tags:
- reload_compose

View File

@@ -12,6 +12,12 @@
- "{{ qbit_downloads }}"
become: true
- name: Remove old opnvpn-config
file:
path: "{{ qbit_remote_config }}/{{ qbit_old_ovpn_config }}"
state: absent
become: true
- name: Copy ovpn-config
template:
owner: "{{ puid }}"