Red Hat Summit 2018 – Ansible Demo with NetApp Cloud Manager – Part Two – The Playbooks
It was asked to have the playbooks shared with the community from the Ansible demo that was presented at the Red Hat Summit. Down below, I have each of the playbooks posted for anyone to take a look at and review. Please note that since this was my first time messing around with Ansible, there are most likely cleaner ways to do some of these activities, but these worked for our demo and should be a good starting point for others that want to try it out. Each playbook was broken into sections, but there's no reason that you could not put all of these into a single playbook. With that said, here you go!
Playbook #1 - Basic Provisioning of EC2 instances in AWS.
---
# Basic provisioning of EC2 instances.
- name: Create AWS resources
hosts: localhost
connection: local
gather_facts: False
tasks:
- name: Create an EC2 instance
ec2:
aws_access_key:...