Windows Hosts Setup

48 views
Skip to first unread message

Ravi Kanth

unread,
Apr 15, 2015, 1:23:24 PM4/15/15
to ansible...@googlegroups.com
Dear All,

I am new to ansible and i have installed latest version 2.1.1 in our environment.

i was trying to add windows hosts to our inventory and i am following the ansible documentation "http://docs.ansible.com/intro_windows.html" however i have small doubts in this.

In the document it was mentioned that

"In group_vars/windows.yml, define the following inventory variables:

# it is suggested that these be encrypted with ansible-vault:
# ansible-vault edit group_vars/windows.yml

ansible_ssh_user: Administrator
ansible_ssh_pass: SecretPasswordGoesHere
ansible_ssh_port: 5986
ansible_connection: winrm "

can any please tell me exact location where i have to create the file or where i have update if it already exist.

Thanks in Advance.

Chris Church

unread,
Apr 15, 2015, 5:22:19 PM4/15/15
to ansible...@googlegroups.com
The intro to Windows documentation assumes you have some familiarity with how to define your inventory and specify group and host variables (http://docs.ansible.com/intro_inventory.html).

Since you mentioned version 2.1.1, I assume you're using Tower.  In this case, you can use the Tower UI to create an inventory and specify the variables for each group or host.  You wouldn't need to create an inventory file or group_vars/windows.yml file in that case.

For additional Tower-related questions, contact sup...@ansible.com.


--
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/cf371af3-56dd-4347-a231-ed21810b2631%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages