mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-08 21:02:21 +00:00
Initialize ovpn folder
This commit is contained in:
@@ -141,6 +141,17 @@
|
|||||||
- name: Get latest blocklist
|
- name: Get latest blocklist
|
||||||
shell: curl -L http://john.bitsurge.net/public/biglist.p2p.gz | gzip -cdf > /opt/appdata/{{pgrole}}/qBittorrent/config/biglist.p2p
|
shell: curl -L http://john.bitsurge.net/public/biglist.p2p.gz | gzip -cdf > /opt/appdata/{{pgrole}}/qBittorrent/config/biglist.p2p
|
||||||
|
|
||||||
|
- name: 'Checking for existing openvpn folder'
|
||||||
|
stat:
|
||||||
|
path: '/opt/appdata/{{pgrole}}/openvpn'
|
||||||
|
register: ovpncheck
|
||||||
|
|
||||||
|
- name: Initialize opvn
|
||||||
|
block:
|
||||||
|
- name: Create opvn folder
|
||||||
|
shell: mkdir /opt/appdata/{{pgrole}}/openvpn && touch mkdir /opt/appdata/{{pgrole}}/openvpn/OPVN\ files\ go\ here > && chown -R {{PUID}}:{{PGID}} /opt/appdata/{{pgrole}}/openvpn
|
||||||
|
when: not opvncheck.stat.exists
|
||||||
|
|
||||||
|
|
||||||
# FIRST TIME CONFIGURATION ####################################################
|
# FIRST TIME CONFIGURATION ####################################################
|
||||||
- name: 'Configuring {{pgrole}} for first time use'
|
- name: 'Configuring {{pgrole}} for first time use'
|
||||||
|
|||||||
Reference in New Issue
Block a user