Skip to content

Instantly share code, notes, and snippets.

@waseem
Created August 5, 2014 15:46
Show Gist options
  • Save waseem/60ac3a7181911a412d36 to your computer and use it in GitHub Desktop.
Save waseem/60ac3a7181911a412d36 to your computer and use it in GitHub Desktop.
$ AWS_ACCESS_KEY=SOME_KEY AWS_SECRET_KEY=SOME_SECRET_KEY ansible -i ec2.py -u ubuntu us-east-1b -m ping
File "/home/waseem/Repositories/Learning/Ansible/ec2.py", line 168
print data_to_print
^
SyntaxError: invalid syntax
ERROR: failed to parse executable inventory script results: {'msg': '', 'failed': True, 'parsed': False}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment