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

add epel to help CentOS 7 install lua

parent ef04c4b4
No related branches found
No related tags found
No related merge requests found
---
- include_vars: "{{ ansible_os_family }}.yml"
- name: add epel on CentOS 7
shell: rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
sudo: true
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
ignore_errors: true
#- name: add epel on CentOS 7
# shell: yum -y update
# sudo: true
# when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
- name: install lua
yum: name={{ item }} state=installed
with_items:
......@@ -9,6 +20,8 @@
- lua-posix
- tcl
- rsync
- gcc
- lua-devel
sudo: true
when: ansible_os_family == 'RedHat'
......
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