Install the package with dnf on F22+
This commit is contained in:
parent
eab75df83b
commit
27910ddaef
1 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,15 @@
|
|||
- openvpn
|
||||
tags:
|
||||
- packages
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: Install needed package (dnf)
|
||||
dnf: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- openvpn
|
||||
tags:
|
||||
- packages
|
||||
when: ansible_distribution_major_version|int > 22
|
||||
|
||||
- name: Install certificate and key
|
||||
copy: src={{ private }}/files/vpn/openvpn/keys/ca.crt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue