add python shebang - add a comment a the top
This commit is contained in:
parent
cd911b2559
commit
4a496a72c8
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue