We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c43747f commit d745b84Copy full SHA for d745b84
etc/kayobe/ansible/blazar-host-create.yml
@@ -3,8 +3,20 @@
3
hosts: blazar-compute
4
gather_facts: false
5
vars:
6
- venv: "/stack/kayobe-automation-env/venvs/os-venv"
+ venv: "{{ virtualenv_path }}/blazar"
7
tasks:
8
+ - name: Set up openstack cli virtualenv
9
+ ansible.builtin.pip:
10
+ virtualenv: "{{ venv }}"
11
+ virtualenv_command: "python -m venv"
12
+ name:
13
+ - python-openstackclient
14
+ - python-blazarclient
15
+ state: latest
16
+ extra_args: "{% if pip_upper_constraints_file %}-c {{ pip_upper_constraints_file }}{% endif %}"
17
+ run_once: true
18
+ delegate_to: localhost
19
+
20
- name: List Blazar compute hosts
21
ansible.builtin.shell:
22
cmd: |
0 commit comments