From 0d56d0a918fcd8a71773a155ba1d0c27c96b7c88 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 10 May 2017 11:39:35 +0100 Subject: [PATCH] prototypes: xci: configure-localhost: Use 'connection: local' Since we are operating on localhost, there is no need to do that via ssh so we use 'connection: local' instead. Moreover, we do not need to execute everything as root so we drop the remote user directive. Change-Id: Ib2127edad29e2da1cd1beebf42cb8f0d278ce3ad Signed-off-by: Markos Chandras --- prototypes/xci/playbooks/configure-localhost.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prototypes/xci/playbooks/configure-localhost.yml b/prototypes/xci/playbooks/configure-localhost.yml index 34b974cd1..e2024dd86 100644 --- a/prototypes/xci/playbooks/configure-localhost.yml +++ b/prototypes/xci/playbooks/configure-localhost.yml @@ -8,7 +8,7 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## - hosts: localhost - remote_user: root + connection: local vars_files: - ../var/{{ ansible_os_family }}.yml - ../var/opnfv.yml -- 2.16.6