prototypes: xci: configure-localhost: Use 'connection: local'
authorMarkos Chandras <mchandras@suse.de>
Wed, 10 May 2017 10:39:35 +0000 (11:39 +0100)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 11 Aug 2017 19:56:12 +0000 (12:56 -0700)
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 <mchandras@suse.de>
xci/playbooks/configure-localhost.yml

index 34b974c..e2024dd 100644 (file)
@@ -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