Merge "Fix periodic image builder jobs" into stable/victoria

This commit is contained in:
Zuul 2021-10-09 00:18:04 +00:00 committed by Gerrit Code Review
commit 79bb3c9c6f
1 changed files with 23 additions and 2 deletions

View File

@ -19,10 +19,31 @@
- debootstrap
- qemu
- bc
- rpm
- yum-utils
- python3-venv
- python3-setuptools
when:
- ansible_os_family == 'Debian'
- name: Install rpm packages
dnf:
pkg: "{{ item }}"
state: "latest"
update_cache: yes
register: install_packages
become: yes
until: install_packages is success
retries: 5
delay: 2
with_items:
- qemu-img
- uuid
- curl
- kpartx
- python3-pyyaml
- qemu-kvm
- python3-setuptools
- yum
when:
- ansible_os_family == 'RedHat'
- name: Install required pip packages
pip:
name: "{{ item }}"