Skip to content

Instantly share code, notes, and snippets.

@likwid
Created December 10, 2013 04:56
Show Gist options
  • Save likwid/7885909 to your computer and use it in GitHub Desktop.
Save likwid/7885909 to your computer and use it in GitHub Desktop.
- name: Local connection for AWS magic
hosts: 127.0.0.1
connection: local
gather_facts: False
tasks:
local_action:
module: ec2
region: us-east-1
keypair: blitz-shared
group: "{{ sg_ssh_http_open }}"
instance_type: m1.small
image: "{{ ami_ubuntu32 }}"
count: 1
wait: yes
register: ec2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment