Another yum vs dnf change

This commit is contained in:
Kevin Fenzi 2015-11-07 20:09:20 +00:00
parent 7eebae7c89
commit 06d85fc68f

View file

@ -34,6 +34,16 @@
- rpcbind
tags:
- nfs/client
when: ansible_distribution_major_version|int < 22
#
- name: Install needed nfs packages
dnf: pkg={{ item }} state=present
with_items:
- nfs-utils
- rpcbind
tags:
- nfs/client
when: ansible_distribution_major_version|int > 21
- name: enable nfs-related services and run them (fedora20 only)
service: name={{ item }} enabled=true state=started