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:
Mark Goddard 2019-11-28 10:39:41 +00:00
parent a30cf063d1
commit 994d790243
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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