mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
changed warning to debug and expanded info on what is really happening, it was a bit misleading
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user