prototypes: xci: configure-localhost: Use 'connection: local' 99/34599/2
authorMarkos Chandras <mchandras@suse.de>
Wed, 10 May 2017 10:39:35 +0000 (11:39 +0100)
committerMarkos Chandras <mchandras@suse.de>
Thu, 11 May 2017 22:42:12 +0000 (23:42 +0100)
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>
prototypes/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