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:
@@ -35,7 +35,7 @@
|
|||||||
kolla_openstack_logging_debug: False
|
kolla_openstack_logging_debug: False
|
||||||
|
|
||||||
- name: Verify kolla-ansible installation
|
- 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
|
changed_when: False
|
||||||
|
|
||||||
- name: Verify ansible installation
|
- name: Verify ansible installation
|
||||||
|
|||||||
@@ -181,7 +181,7 @@
|
|||||||
kolla_nova_compute_ironic_host: "controller1"
|
kolla_nova_compute_ironic_host: "controller1"
|
||||||
|
|
||||||
- name: Verify kolla-ansible installation
|
- 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
|
changed_when: False
|
||||||
|
|
||||||
- name: Verify ansible installation
|
- name: Verify ansible installation
|
||||||
|
|||||||
Reference in New Issue
Block a user