diff --git a/tests/host_vars/localhost.yml b/tests/host_vars/localhost.yml index 5cdf3b2f..cbc442af 100644 --- a/tests/host_vars/localhost.yml +++ b/tests/host_vars/localhost.yml @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -ansible_become: True neutron_local_ip: 10.1.2.1 ansible_python_interpreter: "/usr/bin/python2" bridges: diff --git a/tests/test-ironic-cli.yml b/tests/test-ironic-cli.yml index 07910103..01509725 100644 --- a/tests/test-ironic-cli.yml +++ b/tests/test-ironic-cli.yml @@ -16,6 +16,7 @@ - name: Test the ironic CLI hosts: hosts user: root + become: true gather_facts: false tasks: - name: Run the ironic chassis-list command diff --git a/tests/test-rest-api.yml b/tests/test-rest-api.yml index 7949fc4a..9fdfdbb6 100644 --- a/tests/test-rest-api.yml +++ b/tests/test-rest-api.yml @@ -2,6 +2,7 @@ - name: Playbook for functional testing ironic via its REST API hosts: localhost user: root + become: true gather_facts: true roles: - role: "openstack_openrc"