1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

added EPEL repo centos

This commit is contained in:
eoli3n 2017-12-22 16:48:13 +01:00
parent f76de5ea77
commit 5f65f3e883
3 changed files with 12 additions and 1 deletions

@ -0,0 +1,6 @@
---
- name: Add EPEL repository
yum_repository:
name: epel
description: EPEL YUM repo
baseurl: https://download.fedoraproject.org/pub/epel/$releasever/$basearch/

@ -6,6 +6,10 @@
- wget
become: True
- name: Include CentOS packages [if CentOS]
include_tasks: centos.yml
when: ansible_os_family == "CentOS"
- name: Include Archlinux packages [if Archlinux]
include_tasks: archlinux.yml
when: ansible_os_family == "Archlinux"

@ -17,7 +17,8 @@ Vagrant.configure("2") do |config|
end
config.vm.provision "shell", inline: <<-SHELL
apt install ansible git -y
apt install git python-pip -y
pip install ansible
SHELL
$script = <<-SCRIPT