22 lines
464 B
YAML
22 lines
464 B
YAML
---
|
|
- 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
|