Add ansible-requirements as a constraint in CI

This change will ensure that the ansible-requirements.txt file is used
in molecule jobs as a constraint when creating a test environment.

Change-Id: I81b8201e17f8d2c0300f3518d6974e4ea2655ca0
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
Kevin Carter 2020-09-29 11:06:55 -05:00
parent 2a9bd3e1da
commit 6b6f4b5fb3
No known key found for this signature in database
GPG Key ID: CE94BD890A47B20A

View File

@ -41,6 +41,8 @@
virtualenv: "{{ ansible_user_dir }}/test-python"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
virtualenv_site_packages: true
extra_args: >-
--constraint "{{ tripleo_ansible_project_path }}/ansible-requirements.txt"
- name: Display test-python virtualenv package versions
shell: |-