Another yum vs dnf change
This commit is contained in:
parent
7eebae7c89
commit
06d85fc68f
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue