FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 670fba2b authored by Kayobe Automation's avatar Kayobe Automation
Browse files

Ensure venv exists

parent 72fe50e0
No related branches found
No related tags found
4 merge requests!521Zed antelope sync staging,!518Sync arcus/yoga staging to arcus/yoga-production,!516Yoga-Zed merge,!514Blazar update
......@@ -5,6 +5,18 @@
vars:
venv: "/stack/kayobe-automation-env/venvs/os-venv"
tasks:
- name: Set up openstack cli virtualenv
ansible.builtin.pip:
virtualenv: "{{ venv }}"
virtualenv_command: "python -m venv"
name:
- python-openstackclient
- python-blazarclient
state: latest
extra_args: "{% if pip_upper_constraints_file %}-c {{ pip_upper_constraints_file }}{% endif %}"
run_once: true
delegate_to: localhost
- name: List Blazar compute hosts
ansible.builtin.shell:
cmd: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment