This works on one computer just fine but even after a reinstall of ansible 
I'm still getting this error on my personal laptop.

- 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: ec2


TASK: [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

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/25907b47-6eb7-412b-b196-5eb481967b67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to