|
---
|
|
- name: Reload OpenVPN
|
|
service: name=openvpn state=reloaded
|
|
when: openvpn_enabled
|
|
|
|
- name: Restart OpenVPN
|
|
service: name=openvpn state=restarted
|
|
when: openvpn_enabled
|
|
|
|
- name: Reload systemd
|
|
systemd: daemon_reload=yes
|
|
when: ansible_service_mgr == 'systemd' |