Merge "Fix amphora image build jobs" into stable/ussuri

This commit is contained in:
Zuul 2021-10-08 16:33:35 +00:00 committed by Gerrit Code Review
commit 295d067aff
1 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@
update_cache: yes
register: install_packages
become: yes
until: install_packages|success
until: install_packages is success
retries: 5
delay: 2
with_items:
@ -21,13 +21,16 @@
- bc
- rpm
- yum-utils
- python3-venv
- python3-setuptools
- name: Install required pip packages
pip:
name: "{{ item }}"
state: "latest"
virtualenv: /var/tmp/venv
virtualenv_command: python3 -m venv
register: install_packages
until: install_packages|success
until: install_packages is success
retries: 5
delay: 2
become: yes