feat(ansible): add VPN node configuration automation
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Install OpenVPN packages
|
||||
apt:
|
||||
name:
|
||||
- openvpn
|
||||
- openvpn-auth-radius
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
- name: Create OpenVPN directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
loop:
|
||||
- "{{ openvpn_ccd_dir }}"
|
||||
- "{{ openvpn_config_dir }}"
|
||||
- /etc/openvpn/scripts
|
||||
Reference in New Issue
Block a user