Created
February 25, 2016 19:14
-
-
Save berinle/6ab52cc296d337e340c9 to your computer and use it in GitHub Desktop.
ansible ec2.py error on first run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| command run: | |
| ansible-playbook -i playbooks.d/inventory/ec2.py test.yml -e @env/dev.yml | |
| ERROR! The file playbooks.d/inventory/ec2.py is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with `chmod -x playbooks.d/inventory/ec2.py`. | |
| ERROR! failed to parse executable inventory script results from /home/ec2-user/dd/playbooks.d/inventory/ec2.py: ERROR! Syntax Error while loading YAML. | |
| The error appears to have been in '<string>': line 3, column 21, but may | |
| be elsewhere in the file depending on the exact syntax problem. | |
| ERROR! playbooks.d/inventory/ec2.py:122: Expected key=value host variable assignment, got: sys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment