Fix ca.crt path
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
758af3f7d6
commit
a1b11705e7
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
||||||
when: ansible_distribution_major_version|int > 7 and ansible_cmdline.ostree is not defined
|
when: ansible_distribution_major_version|int > 7 and ansible_cmdline.ostree is not defined
|
||||||
|
|
||||||
- name: Install certificate and key (rhel6 and fedora24 and older)
|
- name: Install certificate and key (rhel6 and fedora24 and older)
|
||||||
copy: src={{ private }}/files/vpn/openvpn/keys/ca.crt
|
copy: src={{ private }}/files/vpn/pki/ca.crt
|
||||||
dest=/etc/openvpn/ca.crt
|
dest=/etc/openvpn/ca.crt
|
||||||
owner=root group=root mode=0600
|
owner=root group=root mode=0600
|
||||||
tags:
|
tags:
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
when: ansible_distribution_major_version|int < 25
|
when: ansible_distribution_major_version|int < 25
|
||||||
|
|
||||||
- name: Install certificate and key (rhel7 or fedora) for client
|
- name: Install certificate and key (rhel7 or fedora) for client
|
||||||
copy: src={{ private }}/files/vpn/openvpn/keys/ca.crt
|
copy: src={{ private }}/files/vpn/pki/ca.crt
|
||||||
dest=/etc/openvpn/client/ca.crt
|
dest=/etc/openvpn/client/ca.crt
|
||||||
owner=root group=root mode=0600
|
owner=root group=root mode=0600
|
||||||
tags:
|
tags:
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
when: ( ansible_distribution_major_version|int != 6 and 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
|
- name: Install certificate and key (rhel7 or fedora) for server
|
||||||
copy: src={{ private }}/files/vpn/openvpn/keys/ca.crt
|
copy: src={{ private }}/files/vpn/pki/ca.crt
|
||||||
dest=/etc/openvpn/server/ca.crt
|
dest=/etc/openvpn/server/ca.crt
|
||||||
owner=root group=root mode=0600
|
owner=root group=root mode=0600
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue