mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-20 19:13:59 -07:00
Annotate more files, fix missing imports messing with playbooks. Hey Tim, please test your stuff :)
This commit is contained in:
parent
238fffd6ef
commit
09a7119e74
7 changed files with 119 additions and 23 deletions
|
@ -22,6 +22,7 @@ import sys
|
|||
import ansible.playbook
|
||||
import ansible.constants as C
|
||||
from ansible.utils import *
|
||||
from ansible.errors import *
|
||||
import getpass
|
||||
from optparse import OptionParser
|
||||
|
||||
|
@ -99,7 +100,7 @@ def main(args):
|
|||
try:
|
||||
pb.run()
|
||||
except AnsibleError as e:
|
||||
print e
|
||||
print >>sys.stderr, "ERROR: %s" % e
|
||||
return 1
|
||||
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue