# Doing ec2\_win\_password in Ansible 1.9.4 ?

**URL:** <https://forum.ansible.com/t/doing-ec2-win-password-in-ansible-1-9-4/19844>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [November 24, 2015, 5:30pm UTC](https://forum.ansible.com/t/doing-ec2-win-password-in-ansible-1-9-4/19844 "2015-11-24T17:30:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Levitt](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Jason\_Levitt](https://forum.ansible.com/u/Jason_Levitt)\
**Post date:** [November 24, 2015, 5:30pm UTC](https://forum.ansible.com/t/doing-ec2-win-password-in-ansible-1-9-4/19844/1 "2015-11-24T17:30:34Z")

</div>

Is there a way to get the Windows password for an EC2 Windows Server in Ansible 1.9.4 ?  
It appears that ec2\_win\_password only works in Ansible 2.x

J

---

<div class="post-metadata">

**Author:** ![Chris\_Church1](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@Chris\_Church1](https://forum.ansible.com/u/Chris_Church1)\
**Post date:** [November 25, 2015, 1:24am UTC](https://forum.ansible.com/t/doing-ec2-win-password-in-ansible-1-9-4/19844/2 "2015-11-25T01:24:11Z")

</div>

You can include a copy of the module from 2.x in a library directory  
alongside your playbook or in a role (e.g.  
[https://github.com/cchurch/ansible-role-win-ec2/tree/master/library](https://github.com/cchurch/ansible-role-win-ec2/tree/master/library) -- I  
renamed the module so it's clear which one I'm using when running with  
either 1.9.x or 2.x).
