mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
a4290997ee
commit
0ee888c717
1 changed files with 17 additions and 16 deletions
|
@ -103,20 +103,21 @@
|
||||||
|
|
||||||
|
|
||||||
- name: Add 'openvpn' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'openvpn' to list of services at /etc/iiab/iiab.ini
|
||||||
ini_file: dest='{{ service_filelist }}'
|
ini_file:
|
||||||
section=openvpn
|
dest: "{{ service_filelist }}"
|
||||||
option='{{ item.option }}'
|
section: openvpn
|
||||||
value='{{ item.value }}'
|
option: "{{ item.option }}"
|
||||||
|
value: "{{ item.value }}"
|
||||||
with_items:
|
with_items:
|
||||||
- option: name
|
- option: name
|
||||||
value: "openvpn"
|
value: OpenVPN
|
||||||
- option: description
|
- option: description
|
||||||
value: '"OpenVPN is a means of connecting to a server anywhere on the internet, via a middleman server."'
|
value: '"OpenVPN is a means of connecting to a server anywhere on the internet, via a middleman server."'
|
||||||
- option: middleman_url
|
- option: middleman_url
|
||||||
value: "{{ vpn_presence }}"
|
value: "{{ vpn_presence }}"
|
||||||
- option: port
|
- option: port
|
||||||
value: "{{ openvpn_server_port }}"
|
value: "{{ openvpn_server_port }}"
|
||||||
- option: enabled
|
- option: enabled
|
||||||
value: "{{ openvpn_enabled }}"
|
value: "{{ openvpn_enabled }}"
|
||||||
- option: cron_enabled
|
- option: cron_enabled
|
||||||
value: "{{ openvpn_cron_enabled }}"
|
value: "{{ openvpn_cron_enabled }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue