and also handle it here

This commit is contained in:
Kevin Fenzi 2017-05-14 23:30:27 +00:00
parent 52318bbc49
commit 489dd32e32

View file

@ -41,7 +41,7 @@
#- restart openvpn (Fedora)
#- restart openvpn (RHEL7)
#- restart openvpn (RHEL6)
when: ansible_distribution_major_version|int > 6 and ansible_cmdline.ostree is not defined
when: ( ansible_distribution_major_version|int != 6 or 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