Externalize role

This commit is contained in:
Adrien Reslinger 2018-10-08 19:34:43 +02:00
commit 39504f99ff
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
18 changed files with 962 additions and 0 deletions

View file

@ -0,0 +1,74 @@
[main]
exactarch=0
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[repo-base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://mirror.centos.org/altarch/7/os/armhfp/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/armhfp/RPM-GPG-KEY-CentOS-7
#released updates
[repo-updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=armhfp&repo=updates&infra=$infra
baseurl=http://mirror.centos.org/altarch/7/updates/armhfp/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/armhfp/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[repo-extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=http://mirror.centos.org/altarch/7/extras/armhfp/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/armhfp/RPM-GPG-KEY-CentOS-7
enabled=1
#additional packages that extend functionality of existing packages
[repo-centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
baseurl=http://mirror.centos.org/altarch/7/centosplus/armhfp/
gpgcheck=1
enabled=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/armhfp/RPM-GPG-KEY-CentOS-7
[repo-kernel-rpi2]
name=CentOS-7 - Kernel Raspberry Pi 2
baseurl=http://mirror.centos.org/altarch/7/kernel/armhfp/kernel-rpi2/
gpgcheck=1
enabled=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/armhfp/RPM-GPG-KEY-CentOS-7
[repo-kernel-generic]
name=CentOS-7 - Kernel generic
baseurl=http://mirror.centos.org/altarch/7/kernel/armhfp/kernel-generic/
gpgcheck=1
enabled=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/armhfp/RPM-GPG-KEY-CentOS-7
[repo-epel]
name=Epel rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/epel-pass-1/
enabled=1
gpgcheck=0

View file

@ -0,0 +1,53 @@
[main]
exactarch=0
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[repo-base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://mirror.centos.org/altarch/7/os/i386/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/i386/RPM-GPG-KEY-CentOS-7
#released updates
[repo-updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=i386&repo=updates&infra=$infra
baseurl=http://mirror.centos.org/altarch/7/updates/i386/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/i386/RPM-GPG-KEY-CentOS-7
#exactarch=1
#additional packages that may be useful
[repo-extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=http://mirror.centos.org/altarch/7/extras/i386/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/i386/RPM-GPG-KEY-CentOS-7
enabled=0
#additional packages that extend functionality of existing packages
[repo-centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
baseurl=http://mirror.centos.org/altarch/7/centosplus/i386/
gpgcheck=1
enabled=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/altarch/7/os/i386/RPM-GPG-KEY-CentOS-7

View file

@ -0,0 +1,164 @@
[main]
exactarch=0
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[repo-base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://mirror.centos.org/centos/7/os/x86_64/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/centos-7/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#released updates
[repo-updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=$infra
baseurl=http://mirror.centos.org/centos/7/updates/x86_64/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/centos-7/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[repo-extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=http://mirror.centos.org/centos/7/extras/x86_64/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/centos-7/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[repo-centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
baseurl=http://mirror.centos.org/centos/7/centosplus/x86_64/
gpgcheck=1
enabled=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
gpgkey=http://mirror.centos.org/centos-7/7/os/x86_64/RPM-GPG-KEY-CentOS-7
[repo-tor]
name=Tor repo
enabled=1
baseurl=https://deb.torproject.org/torproject.org/rpm/el/7/x86_64/
gpgcheck=1
gpgkey=https://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc
[repo-epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/x86_64/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[repo-rpmforge]
name=RHEL $releasever - RPMforge.net - dag
baseurl=http://mirrors.ircam.fr/pub/dag/redhat/el7/en/x86_64/rpmforge/
#mirrorlist=http://mirrorlist.repoforge.org/el7/mirrors-rpmforge
#mirrorlist=file:///etc/yum.repos.d/mirrors-rpmforge
enabled=1
protect=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck=1
[repo-nux-dextop]
name=Nux.Ro RPMs for general desktop use
baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nux.ro
protect=0
### Name: ELRepo.org Community Enterprise Linux Repository for el7
### URL: http://elrepo.org/
[repo-elrepo]
name=ELRepo.org Community Enterprise Linux Repository - el7
baseurl=http://elrepo.org/linux/elrepo/el7/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
[repo-elrepo-testing]
name=ELRepo.org Community Enterprise Linux Testing Repository - el7
baseurl=http://elrepo.org/linux/testing/el7/x86_64/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
[repo-elrepo-kernel]
name=ELRepo.org Community Enterprise Linux Kernel Repository - el7
baseurl=http://elrepo.org/linux/kernel/el7/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
[repo-elrepo-extras]
name=ELRepo.org Community Enterprise Linux Extras Repository - el7
baseurl=http://elrepo.org/linux/extras/el7/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
[repo-rbu-dracut-crypt-ssh]
name=Copr repo for dracut-crypt-ssh owned by rbu
baseurl=https://copr-be.cloud.fedoraproject.org/results/rbu/dracut-crypt-ssh/epel-7-x86_64/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/rbu/dracut-crypt-ssh/pubkey.gpg
enabled=1
[repo-forensics]
name=CERT Forensics Tools Repository
baseurl=http://www.cert.org/forensics/repository/centos/cert/7/x86_64/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cert-forensics-2018-04-07
gpgcheck=1
[repo-forensics-splunk]
name=CERT Forensics Tools Repository - Splunk
baseurl=http://www.cert.org/forensics/repository/centos/splunk/7/x86_64/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-splunk
enabled=1
gpgcheck=1
[repo-forensics-sip]
name=CERT Forensics Tools Repository - SiLK, IPA, and Postgresql
baseurl=http://www.cert.org/forensics/repository/centos/sip/7/x86_64/
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cert-forensics-2018-04-07
gpgcheck=1
[repo-ansible]
name=Ansible
baseurl=http://releases.ansible.com/ansible/rpm/release/epel-7-x86_64/
enable=yes
gpgkey=http://releases.ansible.com/keys/RPM-GPG-KEY-ansible-release.pub
gpgcheck=1
[repo-docker-ce]
name=Ansible
baseurl=https://download.docker.com/linux/centos/7/x86_64/stable/
enable=yes
gpgkey=https://download.docker.com/linux/centos/gpg
gpgcheck=1

View file

@ -0,0 +1,71 @@
# RedSleeve-base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for RedSleeve updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[repo-base]
name=RedSleeve-7 - Base
#mirrorlist=http://ftp.redsleeve.org/pub/el$releasever-devel/el$releasever/mirrors
baseurl=http://ftp.redsleeve.org/pub/el7-devel/el7/7/base/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedSleeve-7
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redsleeve-7-testing
#released updates
[repo-updates]
name=RedSleeve-7 - Updates
#mirrorlist=http://ftp.redsleeve.org/pub/el$releasever-devel/el$releasever/mirrors-updates
baseurl=http://ftp.redsleeve.org/pub/el7-devel/el7/7/updates/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedSleeve-7
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redsleeve-7-testing
#redsleeve extra
[repo-extra]
name=RedSleeve-7 - Extra
#mirrorlist=http://ftp.redsleeve.org/pub/el$releasever-devel/el$releasever/mirrors-extra
baseurl=http://ftp.redsleeve.org/pub/el7-devel/el7/7/extra/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redsleeve-7-testing
#upstream extra
[repo-upstream-extra]
name=RedSleeve-7 - Upstream Extra
#mirrorlist=http://ftp.redsleeve.org/pub/el$releasever-devel/el$releasever/mirrors-upstream-extra
baseurl=http://ftp.redsleeve.org/pub/el7-devel/el7/7/upstream-extra/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redsleeve-7-testing
[repo-raspberrypi]
name=RedSleeve-7 - Raspberry Pi
failovermethod=priority
#mirrorlist=http://ftp.redsleeve.org/pub/el$releasever-devel/el$releasever/raspberrypi/mirrors
baseurl=http://ftp.redsleeve.org/pub/el7-devel/el7/raspberrypi/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redsleeve-7-testing
[repo-kirkwood]
name=RedSleeve-7 - Kirkwood
baseurl=http://ftp.redsleeve.org/pub/el7-devel/el7/kirkwood/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redsleeve-release
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redsleeve-7-testing
[repo-el7-epel]
name=EPEL 7
failovermethod=priority
#mirrorlist=http://ftp.redsleeve.org/pub/el7-devel/el7/EPEL-full/mirrors
baseurl=http://ftp.redsleeve.org/pub/el7-devel/el7/EPEL-full/
enabled=1
metadata_expire=0s
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-epel

View file

@ -0,0 +1,39 @@
[core]
name=Springdale core Base $releasever - $basearch
mirrorlist=http://springdale.princeton.edu/data/springdale/7/i386/os/mirrorlist
#baseurl=http://springdale.princeton.edu/data/springdale/7/i386/os
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-springdale
enabled=0
[updates]
name=Springdale core Updates $releasever - $basearch
mirrorlist=http://springdale.princeton.edu/data/springdale/updates/7/en/os/i386/mirrorlist
#baseurl=http://springdale.princeton.edu/data/springdale/updates/7/en/os/i386
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-springdale
enabled=0
[addons-core]
name=Springdale addons Base $releasever - $basearch
mirrorlist=http://springdale.princeton.edu/data/springdale/7/i386/os/Addons/mirrorlist
#baseurl=http://springdale.princeton.edu/data/springdale/7/i386/os/Addons
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-springdale
enabled=0
[addons-updates]
name=Springdale addons Updates $releasever - $basearch
mirrorlist=http://springdale.princeton.edu/data/springdale/updates/7/en/Addons/i386/mirrorlist
#baseurl=http://springdale.princeton.edu/data/springdale/updates/7/en/Addons/i386
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-springdale
enabled=0
[unsupported]
name=Springdale Unsupported $releasever - $basearch
baseurl=http://springdale.princeton.edu/data/springdale/unsupported/7/i386/
gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-springdale
enabled=1

View file

@ -0,0 +1,26 @@
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=0
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d