From b848226df341705d488aed5bedd7ce6c37cadf98 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 10 May 2017 11:39:35 +0100 Subject: 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 --- xci/playbooks/configure-localhost.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xci') diff --git a/xci/playbooks/configure-localhost.yml b/xci/playbooks/configure-localhost.yml index 34b974cd..e2024dd8 100644 --- a/xci/playbooks/configure-localhost.yml +++ b/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 -- cgit 1.2.3-korg