Created
March 16, 2017 07:22
-
-
Save s0enke/985080d2ec19cb923a031f04e11ece66 to your computer and use it in GitHub Desktop.
Ansible Playbook to deploy a CloudFormation stack
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
# call me with | |
# $ ansible-playbook ansible_playbook.yaml | |
--- | |
- hosts: localhost | |
connection: local | |
gather_facts: no | |
tasks: | |
- cloudformation: | |
stack_name: "stack_name" | |
template: "template.yaml" | |
template_format: yaml | |
state: present | |
register: cfn_output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment