1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
Brian Coca 2015-10-18 11:00:20 -04:00
parent 2d1d21228a
commit 1280e2296c

View file

@ -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()