|
|
@ -1,23 +1,30 @@ |
|
|
|
--- |
|
|
|
--- |
|
|
|
- name: Configure base repositories |
|
|
|
- name: Configure base repositories |
|
|
|
yum_repository: |
|
|
|
yum_repository: |
|
|
|
file: CentOS-{{ item.repo }} |
|
|
|
file: CentOS-Linux-{{ item.name }} |
|
|
|
description: "Centos - {{ item.repo }}" |
|
|
|
description: "Centos - {{ item.name }}" |
|
|
|
name: "{{ item.repo }}" |
|
|
|
name: "{{ item.name | lower }}" |
|
|
|
baseurl: http://mirror.centos.org/$contentdir/$releasever/{{ item.repo }}/$basearch/os/ |
|
|
|
baseurl: http://mirror.centos.org/$contentdir/$releasever/{{ item.repo }}/$basearch/os/ |
|
|
|
gpgcheck: True |
|
|
|
gpgcheck: True |
|
|
|
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
|
|
|
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
|
|
|
enabled: "{{ item.enabled | default(True) }}" |
|
|
|
enabled: "{{ item.enabled | default(True) }}" |
|
|
|
loop: |
|
|
|
loop: |
|
|
|
- repo: BaseOS |
|
|
|
- name: BaseOS |
|
|
|
- repo: AppStream |
|
|
|
repo: BaseOS |
|
|
|
- repo: PowerTools |
|
|
|
- name: AppStream |
|
|
|
- repo: extras |
|
|
|
repo: AppStream |
|
|
|
- repo: cr |
|
|
|
- name: PowerTools |
|
|
|
|
|
|
|
repo: PowerTools |
|
|
|
|
|
|
|
- name: Extras |
|
|
|
|
|
|
|
repo: extras |
|
|
|
|
|
|
|
- name: ContinuousRelease |
|
|
|
|
|
|
|
repo: cr |
|
|
|
enabled: False |
|
|
|
enabled: False |
|
|
|
- repo: centosplus |
|
|
|
- name: Plus |
|
|
|
|
|
|
|
repo: centosplus |
|
|
|
enabled: False |
|
|
|
enabled: False |
|
|
|
- repo: fasttrack |
|
|
|
- name: FastTrack |
|
|
|
|
|
|
|
repo: fasttrack |
|
|
|
enabled: False |
|
|
|
enabled: False |
|
|
|
tags: repo |
|
|
|
tags: repo |
|
|
|
|
|
|
|
|
|
|
@ -27,4 +34,11 @@ |
|
|
|
- CentOS-Base # Replaced with CentOS-BaseOS |
|
|
|
- CentOS-Base # Replaced with CentOS-BaseOS |
|
|
|
- CentOS-CR # Replaced with CentOS-cr |
|
|
|
- CentOS-CR # Replaced with CentOS-cr |
|
|
|
- CentOS-Extras # Replaced with CentOS-extras |
|
|
|
- CentOS-Extras # Replaced with CentOS-extras |
|
|
|
|
|
|
|
- CentOS-BaseOS # Replaced with CentOS-Linux-BaseOS |
|
|
|
|
|
|
|
- CentOS-AppStream # Replaced with CentOS-Linux-AppStream |
|
|
|
|
|
|
|
- CentOS-PowerTools # Replaced with CentOS-Linux-PowerTools |
|
|
|
|
|
|
|
- CentOS-centosplus # Replaced with CentOS-Linux-Plus |
|
|
|
|
|
|
|
- CentOS-cr # Replaced with CentOS-Linux-ContinuousRelease |
|
|
|
|
|
|
|
- CentOS-extras # Replaced with CentOS-Linux-Extras |
|
|
|
|
|
|
|
- CentOS-fasttrack # Replaced with CentOS-Linux-FastTrack |
|
|
|
tags: repo |
|
|
|
tags: repo |
|
|
|