openvpn/handlers/main.yml

14 lines
288 B
YAML
Raw Normal View History

2020-08-17 11:48:37 +02:00
---
- 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']