changed warning to debug and expanded info on what is really happening, it was a bit misleading

pull/12815/head
Brian Coca 9 years ago
parent 2d1d21228a
commit 1280e2296c

@ -325,7 +325,7 @@ class PlayContext(Base):
if address_var in delegated_vars: if address_var in delegated_vars:
break break
else: 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 delegated_vars['ansible_host'] = delegated_host_name
else: else:
delegated_vars = dict() delegated_vars = dict()

Loading…
Cancel
Save