From 33e7376d57403ac9e54fd974210c4d8ccca2debb Mon Sep 17 00:00:00 2001 From: Pedro Salgado Date: Wed, 21 Sep 2016 17:33:20 -0600 Subject: [PATCH] give a default user. --- tests/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.yml b/tests/test.yml index b6fbda5..c87a632 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -20,7 +20,7 @@ ssh_known_hosts_global: - github.com ssh_known_hosts_user: - - user: "{{ ansible_user }}" + - user: "{{ ansible_user|default(ansible_env.USER) }}" hosts: - bitbucket.com