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

9 lines
236 B
YAML

---
- name: Ensure NFS utilities are installed.
apt: "name={{ item }} state=installed"
with_items:
- nfs-common
- nfs-kernel-server
- name: Ensure NFS is running.
service: name=nfs-kernel-server state=started enabled=yes