Skip to content
Snippets Groups Projects
Commit 24771b3c authored by Shahaan Ayyub's avatar Shahaan Ayyub
Browse files

Merge pull request #9 from shahaan/mcc-nectar

Adding MakeFile System feature and relevant changes to syncExports and c...
parents 250512ab 27b5ffa2
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,4 @@
# This is a list of exports, individual entry for each mount.
exportList:
- { name : '/mnt/test-nfs', src : '/mnt',fstype : 'nfs', opts : 'vers=3,noatime,rsize=16384,wsize=16384,hard,intr,tcp,nolock' , interface : 'tun0' }
- { name : '/mnt/test-volume', src : '/mnt/vdc',fstype : 'nfs', opts : 'vers=3,noatime,rsize=16384,wsize=16384,hard,intr,tcp,nolock' , interface : 'tun0' }
---
- include: mkFilesystem.yml
- include: startServer.yml
---
-
name: Format File Systems
filesystem: fstype={{ item.fstype }} dev={{ item.dev }} opts={{ item.opts }}
with_items: mkFileSystems
-
name: Mount file systems
mount: name=/mnt/{{ item.dev | basename }} src={{ item.dev }} fstype={{ item.fstype }} opts=loop state=mounted
with_items: mkFileSystems
---
mkFileSystems:
- { fstype : 'ext4', dev : '/dev/vdc', opts: '' }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment