Created
September 15, 2016 12:20
-
-
Save kernow/30eb45aeea0cc8476454bcf69dd4bfbb 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
# file: staging/main | |
# ec2.ini and ec2.py live in the same folder | |
[localhost] | |
localhost env=staging |
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
--- | |
- name: Create s3, ec2 group, rds and ec2 | |
hosts: localhost | |
connection: local | |
gather_facts: no | |
# These files are automatically loaded for the "staging" inventory but need to be manually loaded when hosts: is set to localhost | |
vars_files: | |
- "group_vars/{{ env }}/vars.yml" | |
- "group_vars/{{ env }}/vault.yml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment