kolla-ansible/roles/openstack-clients/tasks/main.yml
Michal Nasiadka 3a322ce592 CI: Use u-c in openstack-clients role
Change-Id: I29a3f86b59aeaa8ca64d5e6780fa094b903d0039
2024-08-07 19:24:57 +02:00

11 lines
335 B
YAML

---
- name: Setup OpenStack clients
ansible.builtin.pip:
extra_args: "-c {{ openstack_clients_upper_constraints_file }}"
name: "{{ item.package }}"
virtualenv: "{{ openstack_clients_venv_path }}"
virtualenv_command: "python3 -m venv"
become: true
when: item.enabled
loop: "{{ openstack_clients_pip_packages }}"