From: Markos Chandras Date: Wed, 10 May 2017 10:39:35 +0000 (+0100) Subject: prototypes: xci: configure-localhost: Use 'connection: local' X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=0d56d0a918fcd8a71773a155ba1d0c27c96b7c88;p=releng.git 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 --- 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