Skip to content

Commit

Permalink
the task and the new variable: bash_modules_path
Browse files Browse the repository at this point in the history
  • Loading branch information
martbhell committed Feb 19, 2016
1 parent af47890 commit 8590af6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ bash_script_copy_these:
- hist.sh
bash_script_copy_all: True

# This is added after MODULEPATH=$MODULEPATH
bash_modules_path: "/cvmfs/fgi.csc.fi/modules/:/cvmfs/fgi.csc.fi/modules/sl6/"

lua_script_copy_all: True # disable by setting copy_all to false and copy_these to []
lua_script_copy_these:
- SitePackage.sh
Expand Down
6 changes: 6 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
with_items: bash_script_copy_these
when: bash_script_copy_all == False

- name: template FGCI bash profile scripts
template: src={{ item }} dest=/etc/profile.d owner=root mode=0644
with_fileglob:
- "../templates/*sh"
when: bash_script_copy_all

- name: copy CSC LUA script
copy: src={{ item }} dest=/etc/profile.d owner=root mode=0644
with_fileglob:
Expand Down

0 comments on commit 8590af6

Please sign in to comment.