fix handlers and disable notify for now until we roll this out

This commit is contained in:
Kevin Fenzi 2017-05-14 21:38:08 +00:00
parent 4629c0aa58
commit f400f56c6b
2 changed files with 6 additions and 6 deletions

View file

@ -56,7 +56,7 @@
- name: restart openvpn (Fedora) - name: restart openvpn (Fedora)
when: ansible_distribution == "Fedora" when: ansible_distribution == "Fedora"
action: service name=openvpn@openvpn state=restarted action: service name=openvpn-client@openvpn state=restarted
#notify: #notify:
#- fix openvpn routing #- fix openvpn routing
@ -68,7 +68,7 @@
- name: restart openvpn (RHEL7) - name: restart openvpn (RHEL7)
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int == 7 when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int == 7
action: service name=openvpn@openvpn state=restarted action: service name=openvpn-client@openvpn state=restarted
#notify: #notify:
#- fix openvpn routing #- fix openvpn routing

View file

@ -24,10 +24,10 @@
tags: tags:
- install - install
- openvpn - openvpn
notify: #notify:
- restart openvpn (Fedora) #- restart openvpn (Fedora)
- restart openvpn (RHEL7) #- restart openvpn (RHEL7)
- restart openvpn (RHEL6) #- restart openvpn (RHEL6)
- name: install fix-routes.sh script - name: install fix-routes.sh script
copy: src=fix-routes.sh copy: src=fix-routes.sh