Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
f79bcd03
Commit
f79bcd03
authored
5 years ago
by
Gin Tan (Monash University)
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.erc.monash.edu.au:hpc-team/ansible_cluster_in_a_box into 90-network
parents
8f4e2af2
4ae763eb
No related branches found
No related tags found
1 merge request
!268
90 network
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/enable_modules/tasks/main.yml
+6
-0
6 additions, 0 deletions
roles/enable_modules/tasks/main.yml
roles/enable_modules/templates/patchmodulecmd.sh.j2
+4
-0
4 additions, 0 deletions
roles/enable_modules/templates/patchmodulecmd.sh.j2
with
10 additions
and
0 deletions
roles/enable_modules/tasks/main.yml
+
6
−
0
View file @
f79bcd03
...
@@ -30,6 +30,12 @@
...
@@ -30,6 +30,12 @@
become_user
:
root
become_user
:
root
when
:
default_modules == "modulecmd"
when
:
default_modules == "modulecmd"
-
name
:
template patchmodulecmd bash
template
:
src=patchmodulecmd.sh.j2 dest=/etc/profile.d/patchmodulecmd.sh.j2
become
:
true
become_user
:
root
when
:
default_modules == "modulecmd"
-
name
:
template modulecmd csh
-
name
:
template modulecmd csh
template
:
src=modulecmd.csh.j2 dest=/etc/profile.d/modulecmd.csh
template
:
src=modulecmd.csh.j2 dest=/etc/profile.d/modulecmd.csh
become
:
true
become
:
true
...
...
This diff is collapsed.
Click to expand it.
roles/enable_modules/templates/patchmodulecmd.sh.j2
0 → 100644
+
4
−
0
View file @
f79bcd03
module() { eval `/usr/bin/modulecmd bash $*`; /usr/local/bin/modulelog $*;}
export -f module
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
2a754513
·
4 years ago
mentioned in commit
2a754513
mentioned in commit 2a754513dc199013ecd49b32ef094be44efd8dcc
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment