Always trigger the fix routing if we restart openvpn
This commit is contained in:
parent
032376de7e
commit
eeb5989148
1 changed files with 3 additions and 0 deletions
|
@ -87,18 +87,21 @@
|
|||
- name: restart openvpn (Fedora)
|
||||
when: ansible_distribution == "Fedora"
|
||||
action: service name=openvpn@openvpn state=restarted
|
||||
changed_when: 1 == 1
|
||||
notify:
|
||||
- fix openvpn routing
|
||||
|
||||
- name: restart openvpn (RHEL6)
|
||||
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int == 6
|
||||
action: service name=openvpn state=restarted
|
||||
changed_when: 1 == 1
|
||||
notify:
|
||||
- fix openvpn routing
|
||||
|
||||
- name: restart openvpn (RHEL7)
|
||||
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int == 7
|
||||
action: service name=openvpn@openvpn state=restarted
|
||||
changed_when: 1 == 1
|
||||
notify:
|
||||
- fix openvpn routing
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue