mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 13:29:08 -07:00
replace module daisy-chaining logic
This commit is contained in:
parent
a33713234c
commit
d72c0c8898
2 changed files with 26 additions and 38 deletions
|
@ -248,7 +248,9 @@ class PlaybookRunnerCallbacks(DefaultRunnerCallbacks):
|
|||
|
||||
def on_unreachable(self, host, msg):
|
||||
|
||||
item = msg.get('item', None)
|
||||
item = None
|
||||
if type(msg) == dict:
|
||||
item = msg.get('item', None)
|
||||
|
||||
if item:
|
||||
print "fatal: [%s] => (item=%s) => %s" % (host, item, msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue