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

refactor: use variable to decide if we want autofs mount

parent 423e686e
No related branches found
No related tags found
2 merge requests!117This MR merges the feat-hpc-factory branch, which was focused on building and deploying proxy images for the COD cluster.,!90Modify roles in cheaha.yml playbook to enable a standalone proxy
Pipeline #11719 failed with stages
in 2 minutes and 7 seconds
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
ldap_uri: "ldap://ldapserver" ldap_uri: "ldap://ldapserver"
# nfs_mounts related # nfs_mounts related
use_autofs: false
mount_points: mount_points:
- /gpfs4 - /gpfs4
- /gpfs5 - /gpfs5
......
--- ---
- name: nfs_mounts using fstab - name: nfs_mounts using fstab
include_tasks: fstab.yml include_tasks: fstab.yml
when: "'proxy' in group_names" when: not use_autofs
- name: nfs_mounts using autofs - name: nfs_mounts using autofs
include_tasks: autofs.yml include_tasks: autofs.yml
when: "'proxy' not in group_names" when: use_autofs
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