diff --git a/ansible/roles/kolla-ansible/tests/test-defaults.yml b/ansible/roles/kolla-ansible/tests/test-defaults.yml index 36452d026d2bf3b659ebd3b4ddd24bd46c6e7cf1..1c51780feccfa246901a7f3adadb8661931d3d62 100644 --- a/ansible/roles/kolla-ansible/tests/test-defaults.yml +++ b/ansible/roles/kolla-ansible/tests/test-defaults.yml @@ -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 diff --git a/ansible/roles/kolla-ansible/tests/test-extras.yml b/ansible/roles/kolla-ansible/tests/test-extras.yml index 741e15ae535da2e4b7a610e3de42e59f920c1d30..ad4c40c308d825b65c444ca60cd4bc20f098e034 100644 --- a/ansible/roles/kolla-ansible/tests/test-extras.yml +++ b/ansible/roles/kolla-ansible/tests/test-extras.yml @@ -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