Last active
January 4, 2016 17:29
-
-
Save jarv/8653908 to your computer and use it in GitHub Desktop.
This file contains 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
instance_tags: | |
environment: sandbox | |
github_username: jarv | |
Name: jarv-sandbox | |
... | |
- name: Launch ec2 instance | |
local_action: | |
module: ec2 | |
keypair: "{{ keypair }}" | |
group: "{{ security_group }}" | |
instance_type: "{{ instance_type }}" | |
image: "{{ ami }}" | |
wait: true | |
region: "{{ region }}" | |
instance_tags: "{{instance_tags}}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
failed: [localhost] => {"failed": true, "item": ""}
msg: this module requires key=value arguments (['image=ami-5cbddc6c', 'instance_type=c1.xlarge', 'key_name=platform-ansible', 'region=us-west-2', 'group=ansible', 'count=1', 'wait=true', 'instance_tags=', "{'environment': 'sandbox', 'Name': 'jarv-sandbox', 'github_username': 'jarv'}"])