From bffb2277ffcdbfe5e395f4a356d617acd49c35b1 Mon Sep 17 00:00:00 2001
From: shahaan <shahaan@gmail.com>
Date: Fri, 25 Sep 2015 15:20:18 +1000
Subject: [PATCH] Chris proposed changes

---
 .../centos7Base/tasks/installBasePackages.yml |  5 -----
 roles/centos7Base/tasks/mountUsrLocal.yml     |  4 ----
 roles/centos7Base/templates/.modulespath.j2   | 19 -------------------
 3 files changed, 28 deletions(-)
 delete mode 100644 roles/centos7Base/tasks/mountUsrLocal.yml
 delete mode 100644 roles/centos7Base/templates/.modulespath.j2

diff --git a/roles/centos7Base/tasks/installBasePackages.yml b/roles/centos7Base/tasks/installBasePackages.yml
index fe28688e..74f25096 100644
--- a/roles/centos7Base/tasks/installBasePackages.yml
+++ b/roles/centos7Base/tasks/installBasePackages.yml
@@ -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
diff --git a/roles/centos7Base/tasks/mountUsrLocal.yml b/roles/centos7Base/tasks/mountUsrLocal.yml
deleted file mode 100644
index b5e064c7..00000000
--- a/roles/centos7Base/tasks/mountUsrLocal.yml
+++ /dev/null
@@ -1,4 +0,0 @@
----
--
- name:  Mount the swStack Persistent Volume
- 
diff --git a/roles/centos7Base/templates/.modulespath.j2 b/roles/centos7Base/templates/.modulespath.j2
deleted file mode 100644
index 4e0ed7ad..00000000
--- a/roles/centos7Base/templates/.modulespath.j2
+++ /dev/null
@@ -1,19 +0,0 @@
-#  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
-- 
GitLab