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:
parent
486be4608e
commit
a7d76c060d
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue