Commit d627e443 authored by Kerri Wait's avatar Kerri Wait
Browse files

Fixed symlink task to take multiple lustre filesystem mountpoints

parent eb4076ff
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment