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:
parent
f76de5ea77
commit
5f65f3e883
6
roles/packages-common/tasks/centos.yml
Normal file
6
roles/packages-common/tasks/centos.yml
Normal file
@ -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"
|
||||
|
3
vagrant/debian/Vagrantfile
vendored
3
vagrant/debian/Vagrantfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user