ansible-role-nfs/tasks/setup-RedHat.yml
2014-11-12 14:18:52 -06:00

9 lines
224 B
YAML

---
- name: Ensure NFS utilities are installed.
yum: name=nfs-utils state=installed
- name: Ensure rpcbind and nfs are running.
service: "name={{ item }} state=started enabled=yes"
with_items:
- rpcbind
- nfs