- name: Launch instance
local_action: ec2
key_name={{ key_name }}
group={{ security_group }}
instance_type={{ instance_type }}
image={{ image }}
wait=true
region={{ region }}
instance_tags='{"Name":"wordpress"}'
monitoring=no
instance_tags='Name=wordpress,Group=WP'
id=wordpress
register: ec2TASK: [aws | Launch instance] *************************************************
<127.0.0.1> REMOTE_MODULE ec2 key_name=wordpress group=wordpress instance_type=m1.small image=ami-8997afe0 wait=true region=us-east-1 instance_tags='{"Name":"wordpress"}' monitoring=no instance_tags='Name=wordpress,Group=WP' id=wordpress
<127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1405421602.32-200027015393859 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1405421602.32-200027015393859 && echo $HOME/.ansible/tmp/ansible-tmp-1405421602.32-200027015393859']
<127.0.0.1> PUT /var/folders/_0/2zdl4_9j5txg1fgs3glyfxp80000gn/T/tmpwu_vPt TO /Users/davidneudorfer/.ansible/tmp/ansible-tmp-1405421602.32-200027015393859/ec2
<127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=C LC_CTYPE=C /Users/davidneudorfer/Git/ansible-venv2/bin/python /Users/davidneudorfer/.ansible/tmp/ansible-tmp-1405421602.32-200027015393859/ec2; rm -rf /Users/davidneudorfer/.ansible/tmp/ansible-tmp-1405421602.32-200027015393859/ >/dev/null 2>&1']
failed: [localhost -> 127.0.0.1] => {"failed": true}
msg: Instance creation failed => IdempotentParameterMismatch: Arguments on this idempotent request are inconsistent with arguments used in previous request(s).
FATAL: all hosts have already failed -- aborting
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6dfa7911-07fa-464b-b842-b44af2921658%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
I just ran into this error too. It has to do with the "id=wordpress" in your task - see: http://ansible.sivel.net/docs/ec2_module.html