openvpn/handlers/main.yml
2020-08-17 11:48:37 +02:00

14 lines
288 B
YAML

---
- name: 'openvpn | start service'
systemd:
name: openvpn@{{ ansible_hostname }}.service
state: started
enabled: yes
tags: ['openvpn']
- name: 'openvpn | restart service'
systemd:
name: openvpn@{{ ansible_hostname }}.service
enabled: yes
tags: ['openvpn']