diff options
author | 2017-05-10 11:39:35 +0100 | |
---|---|---|
committer | 2017-08-11 12:56:12 -0700 | |
commit | b848226df341705d488aed5bedd7ce6c37cadf98 (patch) | |
tree | 123e937a8d5b76a9bce87d022f8fa2b20e58e111 /xci/playbooks/configure-localhost.yml | |
parent | f61f12e436a5f407558815cb0a785f06cbe743d9 (diff) |
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 <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks/configure-localhost.yml')
-rw-r--r-- | xci/playbooks/configure-localhost.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |