https://github.com/tedder/ansible-cloudformation-example
working example(s) of creating cloudformation stacks in yaml and uploading via ansible
https://github.com/tedder/ansible-cloudformation-example
Last synced: about 1 year ago
JSON representation
working example(s) of creating cloudformation stacks in yaml and uploading via ansible
- Host: GitHub
- URL: https://github.com/tedder/ansible-cloudformation-example
- Owner: tedder
- License: mit
- Created: 2015-04-06T20:21:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-08T03:54:50.000Z (over 11 years ago)
- Last Synced: 2025-01-14T13:25:57.552Z (over 1 year ago)
- Language: Python
- Size: 410 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-cloudformation-example
working example(s) of creating cloudformation stacks in yaml and uploading via ansible
# how to run
Obviously, YMMV, some things are hardcoded.
AWS_PROFILE="" ansible-playbook -c local -i "localhost," test1-single-ec2.yml
AWS_PROFILE="" ansible-playbook -c local -i "localhost," test2-full-vpc.yml -e "stack_name=test2a stack_cidr=10.4"
AWS_PROFILE="" ansible-playbook -c local -i "localhost," test2-full-vpc.yml -e "stack_name=test2b stack_cidr=10.5"
# tips
* Spend a lot of time on the cloudformation console to look for errors. Some will kill the 'reason' column.
* If there's a major problem with autoscaling, it only shows up in the EC2->autoscaling panel.
# library patches
Since Ansible always has a huge backlog of pull requests, it's necessary to have a local copy of new or patched modules. The modules in `library/` are from the following repos or pull requests:
* `cloudformation_assemble`: https://github.com/ansible/ansible-modules-core/pull/1034