I've been bitten by "Connection: local" aswell. Could you try delegate_to: 
localhost instead and see if that works better for you?

On Wednesday, September 9, 2015 at 3:58:52 PM UTC+2, Frank Perks wrote:
>
> This does not actually work, i get 
>
> FAILED! => {"failed": true, "msg": "ERROR! The module ec2_win_password 
> was not found in configured module paths"}
>
> I am assuming this is related to this issue: 
> https://groups.google.com/forum/#!topic/ansible-project/PqwMiIHV0js
>
> On Wednesday, September 9, 2015 at 7:30:25 AM UTC-4, Frank Perks wrote:
>>
>> I didn't realize you can specify the ansible connection on a per task 
>> level!
>>
>> That completely changes stuff!
>>
>> I will give this a shot!
>>
>> On Tuesday, September 8, 2015 at 4:51:48 PM UTC-4, Brian Coca wrote:
>>>
>>> have you tried this? 
>>>
>>> - hosts: windows 
>>>   gather_facts: false 
>>>   tasks: 
>>>
>>>     - ec2_win_password: <stuff> 
>>>       connection: local 
>>>
>>>     - set_fact: ansible_ssh_host="{{ ec2_win_password.whatver}}" 
>>>
>>>     - do_other_stuff 
>>> -- 
>>> Brian Coca 
>>>
>>

-- 
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/a07b05d3-d297-4451-b207-3f7034dfb111%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to