Commit 67bf0987 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

the cronname needs to be unique, fixing path for symlinker script

parent b365ddb2
......@@ -4,6 +4,7 @@
path: /opt/symlinker/
state: directory
mode: '0755'
become: true
- name: Template project symlink script to /opt/symlinker/symlinker-{{ lustre_storage_type }}.sh
......@@ -16,12 +17,14 @@
lustre_storage_type: "{{ item }}"
"{{ lustre_storage_types }}"
become: true
- name: Ensure a job that runs every 15 minutes exists. This updates the symlinks
name: "Update lustre symlinks (node local)"
name: "Update lustre symlinks {{ item }} (node local)"
minute: "*/15"
job: "/opt/symlinker-{{ item }}.sh"
job: "/opt/symlinker/symlinker-{{ item }}.sh"
user: root
"{{ lustre_storage_types }}"
\ No newline at end of file
"{{ lustre_storage_types }}"
become: true
\ No newline at end of file
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