Skip to content
Snippets Groups Projects
Commit 9045cd4e authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Merge branch 'feat-nfs-mount-switch' into 'feat-hpc-factory'

Feat nfs mount switch

See merge request !137
parents ba3c1c13 771c2fc3
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
become: true become: true
roles: roles:
- { name: 'cheaha.node', tags: 'cheaha.node' } - { name: 'cheaha.node', tags: 'cheaha.node' }
- { name: 'nfs_mounts', tags: 'nfs_mounts' } - { name: 'nfs_mounts', tags: 'nfs_mounts', when: enable_nfs_mounts }
- { name: 'ldap_config', tags: 'ldap_config' } - { name: 'ldap_config', tags: 'ldap_config' }
- { name: 'slurm_client', tags: 'slurm_client', when: enable_slurm_client } - { name: 'slurm_client', tags: 'slurm_client', when: enable_slurm_client }
- { name: 'ssh_host_keys', tags: 'ssh_host_keys' } - { name: 'ssh_host_keys', tags: 'ssh_host_keys' }
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
ldap_uri: "ldap://ldapserver" ldap_uri: "ldap://ldapserver"
# nfs_mounts related # nfs_mounts related
enable_nfs_mounts: true
use_autofs: false use_autofs: false
mount_points: mount_points:
- { "src": "master:/gpfs4", "path": "/gpfs4", "opts": "ro,sync,hard", "mode": "0755" } - { "src": "master:/gpfs4", "path": "/gpfs4", "opts": "ro,sync,hard", "mode": "0755" }
......
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