mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-11-08 21:03:30 +01:00
9 lines
236 B
YAML
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
|