ansible-role-python_venv_build/examples/playbook.yml
Dmitriy Rabotyagov 82dcd020fa Replace linters test with integarted one
We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.

Change-Id: I7e1109dfe14ff11cc3a36d881ab2477a53a272d2
2021-05-26 07:40:38 +00:00

25 lines
675 B
YAML

---
- name: Install the python venv
hosts: localhost
user: root
roles:
- role: "python_venv_build"
vars:
venv_python_executable: "python3"
venv_build_constraints:
- "--constraint https://releases.openstack.org/constraints/upper/master"
venv_build_distro_package_list:
- "libsystemd-dev"
venv_install_destination_path: "/openstack/venvs/service-version"
venv_install_distro_package_list:
- "libxml2"
venv_pip_install_args: ""
venv_pip_packages:
- cryptography
- systemd-python
- uwsgi
venv_facts_when_changed:
- section: "service"
option: "need_service_restart"
value: True