Take out the spaces inside the parenthesis.
This commit is contained in:
parent
7f9313b2b1
commit
ac3f05c720
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ def main(args):
|
|||
for playbook in args:
|
||||
if not os.path.exists(playbook):
|
||||
raise errors.AnsibleError("the playbook: %s could not be found" % playbook)
|
||||
if not ( os.path.isfile(playbook) or stat.S_ISFIFO(os.stat(playbook).st_mode) ):
|
||||
if not (os.path.isfile(playbook) or stat.S_ISFIFO(os.stat(playbook).st_mode)):
|
||||
raise errors.AnsibleError("the playbook: %s does not appear to be a file" % playbook)
|
||||
|
||||
# run all playbooks specified on the command line
|
||||
|
|
Loading…
Reference in a new issue