Move service enabling into handler
This commit is contained in:
parent
8c90cc7f8e
commit
e08086847d
2 changed files with 6 additions and 5 deletions
5
roles/protonvpn/handlers/main.yml
Normal file
5
roles/protonvpn/handlers/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Enable protonvpn service
|
||||
systemd:
|
||||
name: openvpn-client@fr.protonvpn.com.udp
|
||||
enabled: true
|
|
@ -36,8 +36,4 @@
|
|||
owner: root
|
||||
group: root
|
||||
remote_src: yes
|
||||
|
||||
- name: Enable protonvpn service
|
||||
systemd:
|
||||
name: openvpn-client@fr.protonvpn.com.udp
|
||||
enabled: true
|
||||
notify: Enable protonvpn service
|
||||
|
|
Loading…
Add table
Reference in a new issue