Merge "pip: use latest instead of upgrade"

This commit is contained in:
Zuul 2022-12-07 22:48:59 +00:00 committed by Gerrit Code Review
commit 98a536c253
2 changed files with 3 additions and 3 deletions

View File

@ -49,6 +49,6 @@
when: _venv_requirements_txt.changed
pip:
requirements: '{{ create_venv_path }}/requirements-venv.txt'
extra_args: '--upgrade'
state: latest
virtualenv: '{{ create_venv_path }}'
virtualenv_command: '/usr/bin/python3 -m venv'

View File

@ -67,10 +67,10 @@
when: _requirements_updated.changed
pip:
requirements: '/usr/ansible-venv/requirements.txt'
virtualenv: '/usr/ansible-venv'
# Always upgrade because only called in response to
# requirements.txt changes.
extra_args: '--upgrade'
state: latest
virtualenv: '/usr/ansible-venv'
# From Ansible 2.10 >= most of the fun stuff is in collections. Clone
# our required collections here. Note this is only for our testing of