Skip to content

Instantly share code, notes, and snippets.

@mariusv

mariusv/remi.yml

Last active Nov 13, 2015
Embed
What would you like to do?
Ansible playbook to enable EPEL + REMI on a AWS Linux AMI. This gist is created for /u/AngleMan on https://www.reddit.com/r/ansible .
---
- hosts: all
sudo: yes
tasks:
- name: Enable EPEL
command: yum-config-manager --enable epel
- name: Install remi repo.
yum:
name: http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
state: present
- name: Import remi GPG key.
rpm_key:
key: http://rpms.remirepo.net/RPM-GPG-KEY-remi
state: present
- name: be sure MySQL-python is installed
yum: name={{ item }} state=installed enablerepo=remi
with_items:
- MySQL-python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment