From f10e42d8252d28487b80c27bf9a8c83db3b988df Mon Sep 17 00:00:00 2001 From: Julian Montez Date: Wed, 4 Feb 2015 11:03:15 -0600 Subject: [PATCH] Designate root user to run the Tempest playbook. This allows non-root users using Ansible to reach the correct authorized_keys file within containers. Change-Id: I35a60b2fc937e839e7cd7fcc7da8649c4b3de440 Closes-Bug: 1418122 --- rpc_deployment/playbooks/openstack/tempest.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpc_deployment/playbooks/openstack/tempest.yml b/rpc_deployment/playbooks/openstack/tempest.yml index 56dc044258..f959c8e5a9 100644 --- a/rpc_deployment/playbooks/openstack/tempest.yml +++ b/rpc_deployment/playbooks/openstack/tempest.yml @@ -16,6 +16,7 @@ # Configure tempest on the utility containers - hosts: utility_all + user: root roles: - common - openstack_common @@ -26,6 +27,7 @@ # Openstack resources only need to be created once - hosts: utility_all[0] + user: root roles: - tempest_resources vars_files: @@ -33,6 +35,7 @@ # Tempest is installed and configured in all utility containers - hosts: utility_all + user: root vars_files: - vars/repo_packages/tempest.yml roles: