|
|
@ -7,7 +7,7 @@ |
|
|
|
|
|
|
|
- name: Add CRI-O kubic apt repo key |
|
|
|
apt_key: |
|
|
|
url: "https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/{{ crio_kubic_debian_repo_name }}/Release.key" |
|
|
|
url: "https://{{ crio_download_base }}/{{ crio_kubic_debian_repo_name }}/Release.key" |
|
|
|
state: present |
|
|
|
when: crio_kubic_debian_repo_name is defined |
|
|
|
register: apt_key_download |
|
|
@ -18,14 +18,14 @@ |
|
|
|
|
|
|
|
- name: Add CRI-O kubic apt repo |
|
|
|
apt_repository: |
|
|
|
repo: "deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/{{ crio_kubic_debian_repo_name }}/ /" |
|
|
|
repo: "deb http://{{ crio_download_base }}/{{ crio_kubic_debian_repo_name }}/ /" |
|
|
|
state: present |
|
|
|
filename: devel-kubic-libcontainers-stable |
|
|
|
when: crio_kubic_debian_repo_name is defined |
|
|
|
|
|
|
|
- name: Add CRI-O kubic cri-o apt repo |
|
|
|
apt_repository: |
|
|
|
repo: "deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/{{ crio_kubic_debian_repo_name }}/ /" |
|
|
|
repo: "deb {{ crio_download_crio }}{{ crio_version }}/{{ crio_kubic_debian_repo_name }}/ /" |
|
|
|
state: present |
|
|
|
filename: devel-kubic-libcontainers-stable-cri-o |
|
|
|
when: crio_kubic_debian_repo_name is defined |
|
|
@ -75,9 +75,9 @@ |
|
|
|
yum_repository: |
|
|
|
name: devel_kubic_libcontainers_stable |
|
|
|
description: Stable Releases of Upstream github.com/containers packages (CentOS_$releasever) |
|
|
|
baseurl: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_{{ ansible_distribution_major_version }}/ |
|
|
|
baseurl: http://{{ crio_download_base }}/CentOS_{{ ansible_distribution_major_version }}/ |
|
|
|
gpgcheck: yes |
|
|
|
gpgkey: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key |
|
|
|
gpgkey: http://{{ crio_download_base }}/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key |
|
|
|
keepcache: '0' |
|
|
|
when: |
|
|
|
- ansible_os_family == "RedHat" |
|
|
@ -87,9 +87,9 @@ |
|
|
|
yum_repository: |
|
|
|
name: "devel_kubic_libcontainers_stable_cri-o_{{ crio_version }}" |
|
|
|
description: "CRI-O {{ crio_version }} (CentOS_$releasever)" |
|
|
|
baseurl: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_{{ ansible_distribution_major_version }}/" |
|
|
|
baseurl: "{{ crio_download_crio }}{{ crio_version }}/CentOS_{{ ansible_distribution_major_version }}/" |
|
|
|
gpgcheck: yes |
|
|
|
gpgkey: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key" |
|
|
|
gpgkey: "{{ crio_download_crio }}{{ crio_version }}/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key" |
|
|
|
when: |
|
|
|
- ansible_os_family == "RedHat" |
|
|
|
- ansible_distribution not in ["Amazon", "Fedora"] |
|
|
@ -98,9 +98,9 @@ |
|
|
|
yum_repository: |
|
|
|
name: devel_kubic_libcontainers_stable |
|
|
|
description: Stable Releases of Upstream github.com/containers packages |
|
|
|
baseurl: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/ |
|
|
|
baseurl: http://{{ crio_download_base }}/CentOS_7/ |
|
|
|
gpgcheck: yes |
|
|
|
gpgkey: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/repodata/repomd.xml.key |
|
|
|
gpgkey: http://{{ crio_download_base }}/CentOS_7/repodata/repomd.xml.key |
|
|
|
keepcache: '0' |
|
|
|
when: ansible_distribution in ["Amazon"] |
|
|
|
|
|
|
@ -108,9 +108,9 @@ |
|
|
|
yum_repository: |
|
|
|
name: "devel_kubic_libcontainers_stable_cri-o_{{ crio_version }}" |
|
|
|
description: "CRI-O {{ crio_version }}" |
|
|
|
baseurl: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_7/" |
|
|
|
baseurl: "{{ crio_download_crio }}{{ crio_version }}/CentOS_7/" |
|
|
|
gpgcheck: yes |
|
|
|
gpgkey: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_7/repodata/repomd.xml.key" |
|
|
|
gpgkey: "{{ crio_download_crio }}{{ crio_version }}/CentOS_7/repodata/repomd.xml.key" |
|
|
|
when: ansible_distribution in ["Amazon"] |
|
|
|
|
|
|
|
- name: Enable modular repos for CRI-O |
|
|
|