roles/yum: Prefix all options with yum_
This commit is contained in:
parent
42e22437ed
commit
237c94b7c9
@ -1,6 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
use_local_mirror: false
|
# Whether or not to use a local Yum mirror.
|
||||||
centos_mirror_host: 'mirror.centos.org'
|
yum_use_local_mirror: false
|
||||||
epel_mirror_host: 'download.fedoraproject.org'
|
# Mirror FQDN for Yum repos.
|
||||||
epel_mirror_directory: 'pub/epel'
|
yum_centos_mirror_host: 'mirror.centos.org'
|
||||||
|
# Mirror directory for Yum CentOS repos.
|
||||||
|
yum_centos_mirror_directory: 'centos'
|
||||||
|
# Mirror FQDN for Yum EPEL repos.
|
||||||
|
yum_epel_mirror_host: 'download.fedoraproject.org'
|
||||||
|
# Mirror directory for Yum EPEL repos.
|
||||||
|
yum_epel_mirror_directory: 'pub/epel'
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
[base]
|
[base]
|
||||||
name=CentOS-$releasever - Base
|
name=CentOS-$releasever - Base
|
||||||
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
|
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
|
||||||
baseurl=http://{{ centos_mirror_host }}/centos/$releasever/os/$basearch/
|
baseurl=http://{{ yum_centos_mirror_host }}/{{ yum_centos_mirror_directory }}/$releasever/os/$basearch/
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
|||||||
[updates]
|
[updates]
|
||||||
name=CentOS-$releasever - Updates
|
name=CentOS-$releasever - Updates
|
||||||
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
|
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
|
||||||
baseurl=http://{{ centos_mirror_host }}/centos/$releasever/updates/$basearch/
|
baseurl=http://{{ yum_centos_mirror_host }}/{{ yum_centos_mirror_directory }}/$releasever/updates/$basearch/
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
|||||||
[extras]
|
[extras]
|
||||||
name=CentOS-$releasever - Extras
|
name=CentOS-$releasever - Extras
|
||||||
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
|
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
|
||||||
baseurl=http://{{ centos_mirror_host }}/centos/$releasever/extras/$basearch/
|
baseurl=http://{{ yum_centos_mirror_host }}/{{ yum_centos_mirror_directory }}/$releasever/extras/$basearch/
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
|||||||
[centosplus]
|
[centosplus]
|
||||||
name=CentOS-$releasever - Plus
|
name=CentOS-$releasever - Plus
|
||||||
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
|
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
|
||||||
baseurl=http://{{ centos_mirror_host }}/centos/$releasever/centosplus/$basearch/
|
baseurl=http://{{ yum_centos_mirror_host }}/{{ yum_centos_mirror_directory }}/$releasever/centosplus/$basearch/
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[epel]
|
[epel]
|
||||||
name=Extra Packages for Enterprise Linux 7 - $basearch
|
name=Extra Packages for Enterprise Linux 7 - $basearch
|
||||||
baseurl=http://{{ epel_mirror_host }}/{{ epel_mirror_directory }}/7/$basearch
|
baseurl=http://{{ yum_epel_mirror_host }}/{{ yum_epel_mirror_directory }}/7/$basearch
|
||||||
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
|
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
enabled=1
|
enabled=1
|
||||||
@ -9,7 +9,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
|
|||||||
|
|
||||||
[epel-debuginfo]
|
[epel-debuginfo]
|
||||||
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
|
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
|
||||||
baseurl=http://{{ epel_mirror_host }}/{{ epel_mirror_directory }}/7/$basearch/debug
|
baseurl=http://{{ yum_epel_mirror_host }}/{{ yum_epel_mirror_directory }}/7/$basearch/debug
|
||||||
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
|
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
enabled=0
|
enabled=0
|
||||||
@ -18,7 +18,7 @@ gpgcheck=1
|
|||||||
|
|
||||||
[epel-source]
|
[epel-source]
|
||||||
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
|
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
|
||||||
baseurl=http://{{ epel_mirror_host }}/{{ epel_mirror_directory }}/7/SRPMS
|
baseurl=http://{{ yum_epel_mirror_host }}/{{ yum_epel_mirror_directory }}/7/SRPMS
|
||||||
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
|
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
enabled=0
|
enabled=0
|
||||||
|
Loading…
Reference in New Issue
Block a user