Skip to content
Snippets Groups Projects
Commit ef7b46e3 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Merge branch 'feat-allow-mounts-from-fstab-and-autofs' into 'feat-hpc-factory'

Add conditional to support both autofs, fstab mnts

See merge request !160
parents 5f3cdb39 c7a17a89
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@
# nfs_mounts related
enable_nfs_mounts: true
use_autofs: false
use_fstab: false
mount_points:
- { "src": "master:/gpfs4", "path": "/gpfs4", "opts": "ro,sync,hard", "mode": "0755" }
- { "src": "master:/gpfs5", "path": "/gpfs5", "opts": "ro,sync,hard", "mode": "0755" }
......
---
- name: nfs_mounts using fstab
include_tasks: fstab.yml
when: not use_autofs
when: use_fstab
- name: nfs_mounts using autofs
include_tasks: autofs.yml
......
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