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
370267b1d9
commit
061047950e
1 changed files with 3 additions and 3 deletions
|
@ -162,13 +162,13 @@
|
|||
state: restarted
|
||||
when: openvpn_enabled
|
||||
|
||||
- name: Enable hourly cron job for OpenVPN
|
||||
- name: Enable hourly cron job for OpenVPN (typically for CentOS only?)
|
||||
lineinfile:
|
||||
path: /etc/crontab
|
||||
line: "25 * * * * root (/usr/bin/systemctl start openvpn@xscenet.service) > /dev/null"
|
||||
when: openvpn_enabled and openvpn_cron_enabled
|
||||
|
||||
- name: Remove hourly cron job for OpenVPN
|
||||
- name: Remove hourly cron job for OpenVPN (typically for CentOS only?)
|
||||
lineinfile:
|
||||
path: /etc/crontab
|
||||
regexp: "openvpn@xscenet"
|
||||
|
@ -208,7 +208,7 @@
|
|||
- option: name
|
||||
value: OpenVPN
|
||||
- option: description
|
||||
value: "OpenVPN is a means of connecting to other machines anywhere on the internet, via a middleman server, using Virtual Private Network techniques to create secure connections."
|
||||
value: "OpenVPN enables live/remote support by connecting machines anywhere on the Internet, via a middleman server, using Virtual Private Network (VPN) techniques to create secure connections."
|
||||
- option: enabled
|
||||
value: "{{ openvpn_enabled }}"
|
||||
# openvpn_handle variable can no longer be left completely undefined of August 2018 (EMPTY STRING "" IS TOLERATED, in which case OpenVPN server should use /etc/iiab/uuid in lieu of the handle)
|
||||
|
|
Loading…
Add table
Reference in a new issue