ipsec: add ipsecctl reload

This commit is contained in:
Victor LABORIE 2017-06-08 17:35:37 +02:00
parent 674ad35e28
commit 079f50dc5a

View file

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