Added qbittorrentvpn
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -52,6 +52,10 @@
|
||||
tags:
|
||||
- bin
|
||||
|
||||
- include_tasks: qbit.yml
|
||||
tags:
|
||||
- qbit
|
||||
|
||||
- name: Copy the compose file
|
||||
template:
|
||||
src: templates/aya01/compose.yaml
|
||||
|
||||
21
roles/docker/tasks/qbit.yml
Normal file
21
roles/docker/tasks/qbit.yml
Normal 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
|
||||
Reference in New Issue
Block a user