Install the openvpn client package with dnf on F22+

This commit is contained in:
Pierre-Yves Chibon 2015-11-17 15:29:29 +01:00
parent a7e6225b8f
commit 1c183896c8

View file

@ -8,6 +8,16 @@
tags:
- packages
- openvpn
when: ansible_distribution_major_version|int < 22
- name: Install needed packages
dnf: pkg={{ item }} state=present
with_items:
- openvpn
tags:
- packages
- openvpn
when: ansible_distribution_major_version|int > 22
- name: Install configuration files
copy: src={{ item.file }}