1
0
Fork 0
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:
A Holt 2018-08-15 16:48:24 -04:00 committed by GitHub
parent 4ce5ce9fee
commit 40a36c16fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,14 +124,12 @@
enabled: yes
state: restarted
when: openvpn_enabled
#when: openvpn_enabled and not stat.exists is defined
- name: Enable hourly cron job for OpenVPN
lineinfile:
path: /etc/crontab
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 and not stat.exists is defined
- name: Remove hourly cron job for OpenVPN
lineinfile: