Skip to content

Instantly share code, notes, and snippets.

---
- name: Provision EC2 Instance
hosts: localhost
connection: local
gather_facts: no
vars:
ec2_info:
rhel8:
owners: 309956199498
instance_type: t2.large
@jillr
jillr / ec2_group.py
Created May 4, 2020 23:22
For testing Ansible issue #68729 directly with 2.9
#!/usr/bin/python
# -*- coding: utf-8 -*-
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,