Created
June 16, 2016 19:56
-
-
Save StareIntoTheBeard/94e158b7aabd42409b8ff595c479238e to your computer and use it in GitHub Desktop.
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
| Projects/api_40_ansible(branch:move_forge_to_passenger) » ansible-playbook -v create_forge.yml --extra-var "env=int" justinbean@Justins-MBP | |
| Using /Users/justinbean/Projects/api_40_ansible/ansible.cfg as config file | |
| [WARNING]: Host file not found: /usr/local/etc/ansible/hosts | |
| [WARNING]: provided hosts list is empty, only localhost is available | |
| PLAY [localhost] *************************************************************** | |
| TASK [create_forge : create EC2 instances - AZ - 1b] *************************** | |
| An exception occurred during task execution. To see the full traceback, use -vvv. The error was: [line 5]: '// [default]\n' | |
| fatal: [localhost -> localhost]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"/Users/justinbean/.ansible/tmp/ansible-tmp-1466106840.19-145777297399767/ec2\", line 3628, in <module>\n main()\n File \"/Users/justinbean/.ansible/tmp/ansible-tmp-1466106840.19-145777297399767/ec2\", line 1376, in main\n ec2 = ec2_connect(module)\n File \"/Users/justinbean/.ansible/tmp/ansible-tmp-1466106840.19-145777297399767/ec2\", line 3614, in ec2_connect\n ec2 = connect_to_aws(boto.ec2, region, **boto_params)\n File \"/Users/justinbean/.ansible/tmp/ansible-tmp-1466106840.19-145777297399767/ec2\", line 3594, in connect_to_aws\n conn = aws_module.connect_to_region(region, **params)\n File \"/usr/local/Cellar/ansible/2.0.2.0/libexec/vendor/lib/python2.7/site-packages/boto/ec2/__init__.py\", line 66, in connect_to_region\n return region.connect(**kw_params)\n File \"/usr/local/Cellar/ansible/2.0.2.0/libexec/vendor/lib/python2.7/site-packages/boto/regioninfo.py\", line 187, in connect\n return self.connection_cls(region=self, **kw_params)\n File \"/usr/local/Cellar/ansible/2.0.2.0/libexec/vendor/lib/python2.7/site-packages/boto/ec2/connection.py\", line 103, in __init__\n profile_name=profile_name)\n File \"/usr/local/Cellar/ansible/2.0.2.0/libexec/vendor/lib/python2.7/site-packages/boto/connection.py\", line 1100, in __init__\n provider=provider)\n File \"/usr/local/Cellar/ansible/2.0.2.0/libexec/vendor/lib/python2.7/site-packages/boto/connection.py\", line 555, in __init__\n profile_name)\n File \"/usr/local/Cellar/ansible/2.0.2.0/libexec/vendor/lib/python2.7/site-packages/boto/provider.py\", line 198, in __init__\n self.shared_credentials.load_from_path(shared_path)\n File \"/usr/local/Cellar/ansible/2.0.2.0/libexec/vendor/lib/python2.7/site-packages/boto/pyami/config.py\", line 90, in load_from_path\n self.read(path)\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py\", line 305, in read\n self._read(fp, filename)\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py\", line 546, in _read\n raise e\nConfigParser.ParsingError: File contains parsing errors: /Users/justinbean/.aws/credentials\n\t[line 5]: '// [default]\\n'\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false} | |
| NO MORE HOSTS LEFT ************************************************************* | |
| to retry, use: --limit @create_forge.retry | |
| PLAY RECAP ********************************************************************* | |
| localhost : ok=0 changed=0 unreachable=0 failed=1 | |
| ------------------------------------------------------------ | |
| ~/Projects/api_40_ansible(branch:move_forge_to_passenger) » |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment