Added qbittorrentvpn

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-04-17 21:43:51 +02:00
parent c48abb4512
commit b6b20ae79c
6 changed files with 78 additions and 6 deletions

View File

@@ -52,6 +52,10 @@
tags:
- bin
- include_tasks: qbit.yml
tags:
- qbit
- name: Copy the compose file
template:
src: templates/aya01/compose.yaml

View File

@@ -0,0 +1,21 @@
---
- name: Create qbit-config directory
file:
path: "{{ item }}"
owner: "{{ puid }}"
group: "{{ pgid }}"
mode: '775'
state: directory
loop:
- "{{ qbit_config }}"
- "{{ qbit_downloads }}"
become: true
- name: Copy ovpn-config
template:
owner: "{{ puid }}"
group: "{{ pgid }}"
src: "{{ qbit_config }}/{{ qbit_ovpn_config }}"
dest: "{{ qbit_remote_config }}/{{ qbit_ovpn_config }}"
mode: '664'
become: true