xoxys.openvpn_client/handlers/main.yml
Robert Kaussow bbf0246554
Some checks failed
continuous-integration/drone/push Build is failing
add service handling
2020-05-15 11:21:59 +02:00

10 lines
193 B
YAML

---
- name: Restart openvpn client
service:
name: "openvpn@{{ openvpn_client_name }}"
state: restarted
enabled: yes
listen: __openvpn_restart
become: True
become_user: root