Skip to content
Snippets Groups Projects
Commit 47058e4a authored by Chris Hines's avatar Chris Hines
Browse files

Merge pull request #145 from shahaan/master

Chris proposed changes, will be using modules path role instead..
parents a64677fb 7a426a04
No related branches found
No related tags found
No related merge requests found
......@@ -15,15 +15,10 @@
name: Installing Base Packages
yum: name={{ item }} state=present
with_items:
- environment-modules-3.2.10-8.el7.x86_64
- yum-utils
- deltarpm-3.6-3.el7.x86_64
- yum-plugin-versionlock
sudo: true
-
name: Template the Modules path
template: src=.modulespath.j2 dest=/usr/share/Modules/init/.modulespath owner=root mode=0644
sudo: true
-
name: Installing Core packages
yum: name="{{ item.software }}-{{ item.version }}.{{ item.arch }}" state=present
......
---
-
name: Mount the swStack Persistent Volume
# Module version 3.2.10
# init/.modulespath. Generated from .modulespath.in by configure.
#
# Modulepath initial setup
# ========================
#
# This file defines the initial setup for the module files search path.
# Comments may be added anywhere, which begin on # and continue until the
# end of the line
# Each line containing a single path will be added to the MODULEPATH
# environment variable. You may add as many as you want - just
# limited by the maximum variable size of your shell.
#
# # location of version files
#/usr/share/Modules/$MODULE_VERSION/modulefiles # Module pkg modulefiles (if versioning)
#/usr/share/Modules/modulefiles # Module pkg modulefiles (if no versioning)
/usr/local/Modules/modulefiles
#/etc/modulefiles # General module files
#/usr/share/Modules/your_contribs # Edit for your requirements
......@@ -25,3 +25,4 @@
line: /usr/local/Modules/modulefiles
ignore_errors: true
sudo: true
when: ansible_os_family == 'Debian'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment