From b94fe6af842c2cce1ad65a234b00517a3324d54f Mon Sep 17 00:00:00 2001 From: Paul Edwards Date: Thu, 24 Jun 2021 16:18:18 +0100 Subject: [PATCH] added lustre link in menu --- playbooks/ood.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/playbooks/ood.yml b/playbooks/ood.yml index 1d50dcb7b..0b4fa4a97 100644 --- a/playbooks/ood.yml +++ b/playbooks/ood.yml @@ -176,4 +176,19 @@ src: lustre@tcp0:/LustreFS opts: flock,defaults,_netdev state: mounted - fstype: lustre \ No newline at end of file + fstype: lustre + - name: create ood initialiser directory + file: + path: /etc/ood/config/apps/dashboard/initializers + state: directory + - name: create ood lustre menu option + copy: + dest: /etc/ood/config/apps/dashboard/initializers/ood.rb + content: | + # /etc/ood/config/apps/dashboard/initializers/ood.rb + + OodFilesApp.candidate_favorite_paths.tap do |paths| + paths << FavoritePath.new("/lustre", title: "Lustre") + end + - name: restart ood + shell: systemctl try-restart httpd24-httpd.service httpd24-htcacheclean.service