Skip to content
Snippets Groups Projects
Commit f8403e9b authored by Shahaan Ayyub's avatar Shahaan Ayyub
Browse files

Added few more changes to the centosBase

parent dd988304
No related branches found
No related tags found
No related merge requests found
---
-
name: Removing the RDO repository
file: path=/etc/yum.repos.d/rdo-release.repo state=absent
sudo: true
-
name: Installing Base Packages
yum: name={{ item }} state=present
with_items:
- environment-modules-3.2.10-8.el7.x86_64
- epel-release-7-5.noarch
- yum-utils
- deltarpm-3.6-3.el7.x86_64
- yum-plugin-versionlock
-
name: Enable epel
command: yum-config-manager --enable epel
-
name: Template the Modules path
template: src=.modulespath.j2 dest=/usr/share/Modules/init/.modulespath owner=root mode=0644
-
name: Installing Core packages
yum: name="{{ item.software }}-{{ item.version }}.{{ item.arch }}" state=present
with_items: package_list
sudo: true
-
name: Performing version lock on the packages
shell: yum versionlock \*
sudo: true
---
- include: installBasePackages.yml
---
-
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
This diff is collapsed.
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