communishift: testing venv workaround for dependency issues
Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
parent
5cd71a659b
commit
2378c9cf35
1 changed files with 13 additions and 0 deletions
|
@ -9,6 +9,15 @@
|
|||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
tasks:
|
||||
- name: Configure the communishift virtualenv
|
||||
ansible.builtin.pip:
|
||||
name: "{{ communishift_package }}"
|
||||
virtualenv: /srv/web/infra/communishift/communishift_venv
|
||||
virtualenv_site_packages: yes
|
||||
with_items: "{{ communishift_package_list }}"
|
||||
loop_control:
|
||||
loop_var: communishift_package
|
||||
|
||||
- name: Communishift Role
|
||||
include_role:
|
||||
name: communishift
|
||||
|
@ -16,6 +25,7 @@
|
|||
apply:
|
||||
tags:
|
||||
- deploy-operators
|
||||
|
||||
- name: Communishift Role
|
||||
with_items: "{{ communishift_projects }}"
|
||||
include_role:
|
||||
|
@ -29,6 +39,9 @@
|
|||
loop_control:
|
||||
loop_var: outer_item
|
||||
vars:
|
||||
communishift_package_list:
|
||||
- kubernetes
|
||||
- boto3
|
||||
communishift_projects:
|
||||
- communishift-dev-test
|
||||
- communishift-mattdm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue