# a question of managing windows system through ansible tower

**URL:** <https://forum.ansible.com/t/a-question-of-managing-windows-system-through-ansible-tower/17185>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [January 5, 2015, 1:54pm UTC](https://forum.ansible.com/t/a-question-of-managing-windows-system-through-ansible-tower/17185 "2015-01-05T13:54:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wayne0019](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wayne0019](https://forum.ansible.com/u/wayne0019)\
**Post date:** [January 5, 2015, 1:54pm UTC](https://forum.ansible.com/t/a-question-of-managing-windows-system-through-ansible-tower/17185/1 "2015-01-05T13:54:41Z")

</div>

hi :  
I have provide playbook which can install apache server on a windows server, and I can run it with following command:  
ansible-playbook -i ./hosts ./site.yml  
the hosts file’s content is:  
[window]  
15.126.235.166  
[window:vars]  
ansible\_ssh\_user=administrator  
ansible\_ssh\_pass=admin@123  
ansible\_ssh\_port=5986  
ansible\_connection=winrm

But when i try to repeat above process on ansible tower, I meet following problem: I don’t know how to set Credentials!

I have set the connection information in Inventories’s group variable, if I leave Credentials item to null in JobTemplate, it prompt “Credential Required” when I try to trigger it; if I create a Credentials, how to configure its items? (I have tried to set its SSH username and password as Windows’ username and password, but it finally failed to execute.)

I think all items are used to SSH connection, but for Windows system, it uses native powershell remoting, rather than SSH.

Anybody can help me out?

Many Thanks!

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [January 5, 2015, 4:52pm UTC](https://forum.ansible.com/t/a-question-of-managing-windows-system-through-ansible-tower/17185/2 "2015-01-05T16:52:33Z")

</div>

Hi,

Please direct ansible Tower questions to [support@ansible.com](mailto:support@ansible.com) – this list is just for the main project, but we’re glad to help you over there.

Thanks!

–Michael
