update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
This commit is contained in:
parent
d982c06fde
commit
c9ed62ac32
45 changed files with 460 additions and 175 deletions
|
|
@ -77,8 +77,8 @@
|
|||
#notify:
|
||||
#- fix openvpn routing
|
||||
|
||||
- name: restart openvpn (RHEL7)
|
||||
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int == 7
|
||||
- name: restart openvpn (RHEL7+)
|
||||
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int >= 7
|
||||
action: service name=openvpn-client@openvpn state=restarted
|
||||
#notify:
|
||||
#- fix openvpn routing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue