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
4ce5ce9fee
commit
40a36c16fa
1 changed files with 0 additions and 2 deletions
|
@ -124,14 +124,12 @@
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: restarted
|
state: restarted
|
||||||
when: openvpn_enabled
|
when: openvpn_enabled
|
||||||
#when: openvpn_enabled and not stat.exists is defined
|
|
||||||
|
|
||||||
- name: Enable hourly cron job for OpenVPN
|
- name: Enable hourly cron job for OpenVPN
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/crontab
|
path: /etc/crontab
|
||||||
line: "25 * * * * root (/usr/bin/systemctl start openvpn@xscenet.service) > /dev/null"
|
line: "25 * * * * root (/usr/bin/systemctl start openvpn@xscenet.service) > /dev/null"
|
||||||
when: openvpn_enabled and openvpn_cron_enabled
|
when: openvpn_enabled and openvpn_cron_enabled
|
||||||
#when: openvpn_enabled and openvpn_cron_enabled and not stat.exists is defined
|
|
||||||
|
|
||||||
- name: Remove hourly cron job for OpenVPN
|
- name: Remove hourly cron job for OpenVPN
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue