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:
parent
2d1d21228a
commit
1280e2296c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue