[ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-11-22 Thread Soniya panwar
Hello, There could be a few things not correctly configured or missed that could result into below error: First and foremost, while installing Ansible, did you resolve dependencies for paramiko, PyYAML, Jinja2 and httplib2 packages? If not, you may execute below commands on the linux machine

[ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-11-26 Thread 'J Hawkesworth' via Ansible Project
Hey I think you have the settings right, you just need to move /etc/ansible/windows.yml to /etc/ansible/group_vars/windows.yml You have created the group called windows in your inventory [windows] Lenovo-PC But the group variables aren't taking effect because they aren't in the location ansible

[ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-04 Thread Selva Kumar
I also hitting same issue. My /etc/ansible/hosts entry: [windows] 10.x.x.33 cat /etc/ansible/groups_vars/windows.yml ansible_user: Administrator ansible_password: ansible_port: 5986 ansible_connection: winrm # The following is necessary for Python 2.7.9+ when using default WinRM self-signed ce

Re: [ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-04 Thread shilpa motghare
Thanks It works, I am able to do ping pong to my windows client but not able to install a .exe packages through ansible this is my output ansible windows -m win_ping Lenovo-PC | SUCCESS => { "changed": false, "ping": "pong" } And my windows.yml file is: ansible_user: Administrator ansib

Re: [ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-08 Thread 'J Hawkesworth' via Ansible Project
Not sure what c:\tmp\notepad.exe is in your example, but here is how I install notepad++ {{ deploy_dir }} is a staging location where I keep files to be installed. I guess you could use C:\tmp for that if it makes sense for you. the /S makes the notepad++ installer run in silent, or 'unattende

Re: [ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-08 Thread shilpa motghare
Hiii Thanks for your reply [root@ansible-server ansible]# ansible-playbook notepad.yml -vvv Using /etc/ansible/ansible.cfg as config file ERROR! 'win_get_url' is not a valid attribute for a Play The error appears to have been in '/etc/ansible/notepad.yml': line 1, column 3, but may be elsewhere

Re: [ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-09 Thread 'J Hawkesworth' via Ansible Project
I think you just have a syntax error, and need to put 'hosts' before 'tasks'. I can't test this at the moment, but from memory the syntax would be as follows. # start of playbook - name: install notepad plus plus playbook hosts: windows tasks: - name: fetch notepad-plus-plus installe

Re: [ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-10 Thread shilpa motghare
Thanks Dear It works.. On Sun, Dec 10, 2017 at 1:11 PM, 'J Hawkesworth' via Ansible Project < ansible-project@googlegroups.com> wrote: > I think you just have a syntax error, and need to put 'hosts' before > 'tasks'. > > I can't test this at the moment, but from memory the syntax would be as > f

Re: [ansible-project] Re: Wont be able to ping Windows Machines Via Linux Ansible Server

2017-12-10 Thread shilpa motghare
I want to install a quick heal software on my machine I m successful to install a notepad.exe But in quickheal software first it ask me for the password Can anyone help me to make a .yml script for it On Mon, Dec 11, 2017 at 12:10 PM, shilpa motghare wrote: > Thanks Dear > > It works.. > > On Su