Fix periodic job
There was a version mismath beween python libraries installed by apt and the ones by pip. So use a virtual environment to install DIB. Change-Id: Ia00a79b5dbc61947e1f37c11de9a7f3bb9dddd8a
This commit is contained in:
parent
f33c461cb9
commit
6ebb0d58a6
@ -22,6 +22,7 @@
|
||||
pip:
|
||||
name: "{{ item }}"
|
||||
state: "latest"
|
||||
virtualenv: /var/tmp/venv
|
||||
register: install_packages
|
||||
until: install_packages|success
|
||||
retries: 5
|
||||
@ -35,6 +36,7 @@
|
||||
state: directory
|
||||
- name: Build an amphora image for publishing
|
||||
shell: >-
|
||||
. /var/tmp/venv/bin/activate && \
|
||||
./diskimage-create.sh -o {{ ansible_user_dir }}/test-images/test-only-amphora-x64-haproxy-{{ amphora_os }}-{{ amphora_os_release }}.qcow2 \
|
||||
-i {{ amphora_os }} \
|
||||
-d {{ amphora_os_release }} \
|
||||
|
Loading…
Reference in New Issue
Block a user