forked from evolix/ansible-roles
ipsec: add ipsecctl reload
This commit is contained in:
parent
674ad35e28
commit
079f50dc5a
|
@ -35,8 +35,8 @@
|
|||
tags:
|
||||
- ipsec
|
||||
|
||||
#- name: "Reload ipsec {{ ipsec_name }}"
|
||||
# command: "ipsecctl -f /etc/ipsec/{{ ipsec_name }}.conf"
|
||||
# when: ipsec_conf.changed
|
||||
# tags:
|
||||
# - ipsec
|
||||
- name: "Reload ipsec {{ ipsec_name }}"
|
||||
command: "ipsecctl -f /etc/ipsec/{{ ipsec_name }}.conf"
|
||||
when: ipsec_conf.changed
|
||||
tags:
|
||||
- ipsec
|
||||
|
|
Loading…
Reference in a new issue