summaryrefslogtreecommitdiffstats
path: root/roles/storage/tasks/nfs.yml
blob: 9dbd467d4ee02978aa64cce3d129408224bb6f53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: Create mountable dir
  file: path=/mnt/ands state=directory mode=755 owner=root group=root

- name: Create mountable dir
  file: path=/mnt/pdv 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=absent

- name: set mountpoints
  mount: name=/mnt/pdv src=192.168.26.170:/pdv fstype=nfs opts=defaults,_netdev,nofail,soft,nodiratime,noatime dump=0 passno=0 state=mounted