summaryrefslogtreecommitdiffstats
path: root/roles/storage/tasks/main.yml
blob: 871e785a69c2325b2c48ca9339bcbf657bdc20fa (plain)
1
2
3
4
5
6
7
8
9
---
- name: Ensure NFS common is installed.
  package: name=nfs-utils state=present

- name: Create mountable dir
  file: path=/mnt/ands state=directory mode=755 owner=root group=root

- name: set mountpoints
  mount: name=/mnt/ands src=192.168.26.140:/mnt/ands fstype=nfs4 opts=defaults,minorversion=1,_netdev,nofail,soft,nodiratime,noatime dump=0 passno=0 state=mounted