fix syntax
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0a609dcc01
commit
667bbd8604
|
@ -2,7 +2,7 @@
|
||||||
- name: Restart openvpn client
|
- name: Restart openvpn client
|
||||||
service:
|
service:
|
||||||
name: "openvpn@{{ openvpn_client_name }}"
|
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
|
enabled: yes
|
||||||
listen: __openvpn_restart
|
listen: __openvpn_restart
|
||||||
become: True
|
become: True
|
||||||
|
|
Loading…
Reference in New Issue