Deploying CloudFormation Templates With Ansible

less than 1 minute read

Note: Open Videos On Youtube’s Website for Higher Quality.

Background

In this 3 part video series I explain how to configure your environment to run Ansible playbooks against AWS resources, how the cloudformation template interacts with Ansible, and the format of the playbook.

Part 1: Configure Your Environment to Run Ansible against AWS resources.

This video explains 3 key parts to getting ready to run Ansible against AWS resources:

  • Install dependencies
  • Establish AWS CLI credentials
  • Pull in GitHub repo project for use in Video 2 and 3

Dependencies

  • python-boto3
  • git
  • ansible
  • python3-botocore

How to Setup AWS CLI Credentials

https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html

https://github.com/Josh-Tracy/Ansible

Part 2: Going Over the Playbook, Template, and Variables

This video explains what the playbook, template, and variables do and how they interact with each other.

Part 3: Running the Playbook and Deploying the Stack

This video explains where to locate certain variables for the parameters. It explains how to run the playbook and what to look for in CloudFormation.