i think this commit 64a2077787904f144f77839660071f35f25d181f fixes your
issue, where the code is changed to  connect to the exact region for the
vpc connection. earlier the vpc connection woudl be to region where your
account might not have rights to vpc's
for now i think you can create a directory "library" in the same level as
your playbook and place the latest module code there
https://github.com/ansible/ansible-modules-core/blob/devel/cloud/amazon/elasticache.py
 and that should fix you up till 2.0 is released.



On Thu, Jun 4, 2015 at 9:37 PM, Giovanni Albero <
[email protected]> wrote:

> Thank you so much, I'll attend which confirm.
>
>
> Il giorno giovedì 4 giugno 2015 17:32:59 UTC+2, Giovanni Albero ha scritto:
>>
>> Hi,
>>   I've tried to create an instance of elasticache, and when I've executed
>> the script ansible has returned this
>>
>> failed: [localhost] => {"failed": true}
>>> msg: Use of cache security groups is not permitted in this API version
>>> for your account.
>>> FATAL: all hosts have already failed -- aborting
>>
>>
>> The last script that I've executed is
>>
>> - name: Create ElastiCache
>>>   elasticache:
>>>     name: "test-please-delete"
>>>     state: present
>>>     engine: memcached
>>>     cache_engine_version: 1.4.14
>>>     node_type: cache.m1.small
>>>     num_nodes: 1
>>>     cache_port: 11211
>>> #    cache_security_groups: cicciopasticcio
>>>     security_group_ids: ["{{sg_memcached}}"]
>>>     region: eu-west-1
>>
>>
>> I've tried several combination of this script (also the example of
>> ansible documentation).
>> I've the ansible 1.9.1 and run on Mac OSX.
>>
>> Thank you
>>
>  --
> 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/6071cb5d-3528-4e0d-87e0-ca1ff94fd883%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/6071cb5d-3528-4e0d-87e0-ca1ff94fd883%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAFUV_d6gRQ%3DmcSXxaRooJX66%2Byp75Lz5LNqa__9AdPCu7h1Nfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to