Skip to content
Snippets Groups Projects
Commit d627e443 authored by Kerri Wait's avatar Kerri Wait
Browse files

Fixed symlink task to take multiple lustre filesystem mountpoints

parent eb4076ff
No related branches found
No related tags found
1 merge request!537Symlink cronjob role and template
......@@ -5,10 +5,15 @@
state: directory
mode: '0755'
- name: Template project symlink script to /opt/symlinker/symlinker-{{ lustrefs }}.sh
- name: Template project symlink script to /opt/symlinker/symlinker-{{ lustre_storage_type }}.sh
ansible.builtin.template:
src: symlinker.sh.j2
dest: /opt/symlinker/symlinker-{{ lustrefs }}.sh
dest: /opt/symlinker/symlinker-{{ lustre_storage_type }}.sh
owner: root
group: root
mode: '0700'
vars:
lustre_storage_type: "{{ item }}"
with_items:
- scratch
- projects
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