try and use correct logic
This commit is contained in:
parent
489dd32e32
commit
636d7623ad
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
|||
#- restart openvpn (Fedora)
|
||||
#- restart openvpn (RHEL7)
|
||||
#- restart openvpn (RHEL6)
|
||||
when: ( ansible_distribution_major_version|int != 6 or ansible_distribution_major_version|int != 24) and ansible_cmdline.ostree is not defined
|
||||
when: ( ansible_distribution_major_version|int != 6 and ansible_distribution_major_version|int != 24 ) and ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: Install certificate and key (rhel7 or fedora) for server
|
||||
copy: src={{ private }}/files/vpn/openvpn/keys/ca.crt
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
# - restart openvpn (Fedora)
|
||||
# - restart openvpn (RHEL7)
|
||||
# - restart openvpn (RHEL6)
|
||||
when: ( ansible_distribution_major_version|int != 6 or ansible_distribution_major_version|int != 24) and ansible_cmdline.ostree is not defined
|
||||
when: ( ansible_distribution_major_version|int != 6 and ansible_distribution_major_version|int != 24) and ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: Install configuration files (rhel6)
|
||||
copy: src={{ item.file }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue