Fix kolla-ansible role tests
The kolla-ansible CLI now requires the kolla_ansible python module to be importable. We need to activate the virtualenv to make this work. Change-Id: I43d4761409df3eea146dc7ff16b4c8d80855a91b
This commit is contained in:
parent
a30cf063d1
commit
994d790243
@ -35,7 +35,7 @@
|
||||
kolla_openstack_logging_debug: False
|
||||
|
||||
- name: Verify kolla-ansible installation
|
||||
command: "{{ temp_path }}/venv/bin/kolla-ansible -h"
|
||||
shell: ". {{ temp_path }}/venv/bin/activate && kolla-ansible -h"
|
||||
changed_when: False
|
||||
|
||||
- name: Verify ansible installation
|
||||
|
@ -181,7 +181,7 @@
|
||||
kolla_nova_compute_ironic_host: "controller1"
|
||||
|
||||
- name: Verify kolla-ansible installation
|
||||
command: "{{ temp_path }}/venv/bin/kolla-ansible -h"
|
||||
shell: ". {{ temp_path }}/venv/bin/activate && kolla-ansible -h"
|
||||
changed_when: False
|
||||
|
||||
- name: Verify ansible installation
|
||||
|
Loading…
x
Reference in New Issue
Block a user