Remove outdated install pyyaml with pip2

We don't support python2 since a while

Change-Id: I430ba8f86883b233b975f615e0e50b01e22c66e6
This commit is contained in:
Riccardo Pittau 2023-06-19 10:48:21 +02:00
parent 612ce753c5
commit 241d14cd24
1 changed files with 0 additions and 10 deletions

View File

@ -26,13 +26,3 @@
become: true
when: dib_from_source
# NOTE(dtantsur): work around the issue in older DIB versions when some
# elements try to use the default Python instead of the one DIB is using,
# failing with "No module named yaml"
- name: Install PyYAML in Python 2
pip:
name: PyYAML
extra_args: -c "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
executable: pip2
become: true
ignore_errors: true