From 1280e2296c35a7752d7048e6424b600c94ec29de Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Sun, 18 Oct 2015 11:00:20 -0400 Subject: [PATCH] changed warning to debug and expanded info on what is really happening, it was a bit misleading --- lib/ansible/playbook/play_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/play_context.py b/lib/ansible/playbook/play_context.py index 4554a827bdd..67a62b48718 100644 --- a/lib/ansible/playbook/play_context.py +++ b/lib/ansible/playbook/play_context.py @@ -325,7 +325,7 @@ class PlayContext(Base): if address_var in delegated_vars: break else: - display.warning("no remote address found for delegated host %s, using its name by default" % delegated_host_name) + display.debug("no remote address found for delegated host %s\nusing its name, so success depends on DNS resolution" % delegated_host_name) delegated_vars['ansible_host'] = delegated_host_name else: delegated_vars = dict()