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

feat: add mode in variable

parent a1fa74e9
No related branches found
No related tags found
2 merge requests!139Feat make mount opts as variable,!117This MR merges the feat-hpc-factory branch, which was focused on building and deploying proxy images for the COD cluster.
......@@ -30,8 +30,8 @@
# nfs_mounts related
use_autofs: false
mount_points:
- { "src": "master:/gpfs4", "path": "/gpfs4", "opts": "ro,sync,hard" }
- { "src": "master:/gpfs5", "path": "/gpfs5", "opts": "ro,sync,hard" }
- { "src": "master:/gpfs4", "path": "/gpfs4", "opts": "ro,sync,hard", "mode": "0755" }
- { "src": "master:/gpfs5", "path": "/gpfs5", "opts": "ro,sync,hard", "mode": "0755" }
#SSH Host Keys
S3_ENDPOINT: ""
......
......@@ -3,7 +3,7 @@
ansible.builtin.file:
path: "{{ item.path }}"
state: directory
mode: '0755'
mode: "{{ item.mode }}"
loop:
"{{ mount_points }}"
......
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