1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-08-13 17:10:28 -04:00 committed by GitHub
parent 486be4608e
commit a7d76c060d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,14 +89,14 @@
register: stat
# note that ansible does not currently handle @ in a service name (FIXED SOMETIME PRIOR TO AUGUST 2018??)
- name: Enable & Start openvpn@xscenet tunnel
- name: Enable & (Re)Start openvpn@xscenet tunnel
systemd:
name: openvpn@xscenet.service
enabled: yes
state: started
state: restarted
when: openvpn_enabled and not stat.exists is defined
# FIXED SOMETIME PRIOR TO AUGUST 2018: ansible [did] not handle @ in a service name
#- name: Enable the OpenVPN tunnel at boot time (debuntu)
# shell: systemctl enable openvpn@xscenet.service
# when: openvpn_enabled and not stat.exists is defined and is_debuntu