mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
add python shebang - add a comment a the top
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#!/usr/bin/python
|
||||
# skvidal
|
||||
# dump out the hosts marked with 'freezes: true' in their vars
|
||||
|
||||
|
||||
import ansible.inventory
|
||||
import sys
|
||||
|
||||
@@ -10,7 +15,7 @@ for host in sorted(inv.get_hosts()):
|
||||
if freezes:
|
||||
frozen.append(host.name)
|
||||
elif freezes == 'None':
|
||||
print 'Error: missing freeezes: %s' % host.name
|
||||
print 'Error: missing freezes: %s' % host.name
|
||||
else:
|
||||
unfrozen.append(host.name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user