1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00
ansible-podman-collections/ci/playbooks/install_repos.yml
Sagi Shnaidman 3221930919 Run jobs with new Podman repos
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2026-01-17 17:39:47 +02:00

22 lines
967 B
YAML

---
- name: Install repo for ubuntu
become: true
shell: |
. /etc/os-release
echo "deb https://download.opensuse.org/repositories/home:/alvistack/xUbuntu_${VERSION_ID}/ /" > /etc/apt/sources.list.d/home:alvistack.list
curl -L https://download.opensuse.org/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://download.opensuse.org/repositories/home:/alvistack/xUbuntu_${VERSION_ID}/ /" > /etc/apt/sources.list.d/home:alvistack.list
curl -L https://download.opensuse.org/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'