ansible-role-nfs/tasks/setup-RedHat.yml
Nikola Dipanov e7c2f5a175 Make the role work on Fedora systems
The commit makes sure that we include the correct overrides for service
names, and also that we don't assume yum as the package manager since
newer Fedora versions (22 and above) use dnf.

Tested on Fedora 23.
2016-03-11 14:24:57 +00:00

6 lines
176 B
YAML

---
- name: Ensure NFS utilities are installed.
package: name=nfs-utils state=installed
- name: Ensure rpcbind is running.
service: name=rpcbind state=started enabled=yes