This commit is contained in:
parent
0a609dcc01
commit
667bbd8604
|
@ -2,7 +2,7 @@
|
|||
- name: Restart openvpn client
|
||||
service:
|
||||
name: "openvpn@{{ openvpn_client_name }}"
|
||||
state: "{% 'restarted' if openvpn_service_state == 'started' else 'stopped' %}"
|
||||
state: "{{ 'restarted' if openvpn_service_state == 'started' else 'stopped' }}"
|
||||
enabled: yes
|
||||
listen: __openvpn_restart
|
||||
become: True
|
||||
|
|
Loading…
Reference in New Issue
Block a user