Skip to content

Commit

Permalink
Merge pull request #400 from Azure/lustre-in-file-menu
Browse files Browse the repository at this point in the history
added lustre link in menu
  • Loading branch information
edwardsp authored Jun 24, 2021
2 parents 0899314 + b94fe6a commit de5e6f6
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion playbooks/ood.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,19 @@
src: lustre@tcp0:/LustreFS
opts: flock,defaults,_netdev
state: mounted
fstype: lustre
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

0 comments on commit de5e6f6

Please sign in to comment.