a question of managing windows system through ansible tower

160 views
Skip to first unread message

wayn...@gmail.com

unread,
Jan 5, 2015, 8:54:41 AM1/5/15
to ansible...@googlegroups.com

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!

Michael DeHaan

unread,
Jan 5, 2015, 11:52:37 AM1/5/15
to ansible...@googlegroups.com
Hi,

Please direct ansible Tower questions to sup...@ansible.com -- this list is just for the main project, but we're glad to help you over there.

Thanks!

--Michael



--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f39a72f7-95e4-4bb6-a30f-09708a98afd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages