mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
Fix compile errors in scripts.
This commit is contained in:
parent
47083f145a
commit
75c281debc
6 changed files with 9 additions and 13 deletions
|
@ -72,17 +72,17 @@ def main():
|
|||
if tqm is not None:
|
||||
tqm.cleanup()
|
||||
|
||||
print "UP ***********"
|
||||
print("UP ***********")
|
||||
for host, result in callback.host_ok.items():
|
||||
print '{} >>> {}'.format(host, result._result['stdout'])
|
||||
print('{} >>> {}'.format(host, result._result['stdout']))
|
||||
|
||||
print "FAILED *******"
|
||||
print("FAILED *******")
|
||||
for host, result in callback.host_failed.items():
|
||||
print '{} >>> {}'.format(host, result._result['msg'])
|
||||
print('{} >>> {}'.format(host, result._result['msg']))
|
||||
|
||||
print "DOWN *********"
|
||||
print("DOWN *********")
|
||||
for host, result in callback.host_unreachable.items():
|
||||
print '{} >>> {}'.format(host, result._result['msg'])
|
||||
print('{} >>> {}'.format(host, result._result['msg']))
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue