Move service enabling into handler

This commit is contained in:
flyingscorpio@clevo 2022-02-28 13:16:03 +01:00
parent 8c90cc7f8e
commit e08086847d
2 changed files with 6 additions and 5 deletions

View file

@ -0,0 +1,5 @@
---
- name: Enable protonvpn service
systemd:
name: openvpn-client@fr.protonvpn.com.udp
enabled: true

View file

@ -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