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

enable the epel repo when installing lmod in a different way

parent b5c8d927
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,17 @@
# sudo: true
# when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
- name: Install epel-release
yum: name=epel-release-7-5.noarch state=present
sudo: true
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
- name: Enable epel
command: yum-config-manager --enable epel
sudo: true
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
- name: install lua
yum: name={{ item }} state=installed
with_items:
......
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