Last active
February 5, 2018 12:16
-
-
Save tomwwright/8d6f5a876078b31cd79a5e29871d0bde to your computer and use it in GitHub Desktop.
ansibled : vpc : vpc playbook
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
# vpc.yml | |
# --- | |
# playbook that runs our VPC tasks for any hosts in the `vpc` group, providing AWS credentials in the environment | |
- hosts: vpc | |
environment: | |
AWS_ACCESS_KEY_ID: "{{ aws_access_key }}" | |
AWS_SECRET_ACCESS_KEY: "{{ aws_secret_key }}" | |
AWS_REGION: "{{ aws_region }}" | |
tasks: | |
- include_tasks: tasks/vpc/setup.vpc.yml | |
- include_tasks: tasks/vpc/setup.gateways.yml | |
- include_tasks: tasks/vpc/facts.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment