mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-03-22 02:29:08 +00:00
Use different mirror, b/c main is broken Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
22 lines
979 B
YAML
22 lines
979 B
YAML
---
|
|
- name: Install repo for ubuntu
|
|
become: true
|
|
shell: |
|
|
. /etc/os-release
|
|
echo "deb https://ftp.gwdg.de/pub/opensuse/repositories/home:/alvistack/xUbuntu_${VERSION_ID}/ /" > /etc/apt/sources.list.d/home:alvistack.list
|
|
curl -L https://ftp.gwdg.de/pub/opensuse/repositories/home:/alvistack/xUbuntu_${VERSION_ID}/Release.key | apt-key add -
|
|
apt-get update
|
|
when:
|
|
- ansible_distribution|lower == "ubuntu"
|
|
- podman_version_ubuntu | default('unstable') == 'unstable'
|
|
|
|
- name: Install repo for ubuntu
|
|
become: true
|
|
shell: |
|
|
. /etc/os-release
|
|
echo "deb https://ftp.gwdg.de/pub/opensuse/repositories/home:/alvistack/xUbuntu_${VERSION_ID}/ /" > /etc/apt/sources.list.d/home:alvistack.list
|
|
curl -L https://ftp.gwdg.de/pub/opensuse/repositories/home:/alvistack/xUbuntu_${VERSION_ID}/Release.key | apt-key add -
|
|
apt-get update
|
|
when:
|
|
- ansible_distribution|lower == "ubuntu"
|
|
- podman_version_ubuntu | default('unstable') == 'stable'
|