Re: [ansible-project] Ansible for Windows

2021-06-15 Thread Wei-Yen Tan
:00 AM To: Ansible Project Subject: Re: [ansible-project] Ansible for Windows Do you have any example module or playbook? Em terça-feira, 15 de junho de 2021 às 18:12:34 UTC-3, weiye...@gmail.com escreveu: You can use become:yes in your play. Iirc Get Outlook for iOS<https://aka.

Re: [ansible-project] Ansible for Windows

2021-06-15 Thread Gabriel Viegas
Do you have any example module or playbook? Em terça-feira, 15 de junho de 2021 às 18:12:34 UTC-3, weiye...@gmail.com escreveu: > You can use become:yes in your play. Iirc > > Get Outlook for iOS > -- > *From:* ansible...@googlegroups.com on

Re: [ansible-project] Ansible for Windows

2021-06-15 Thread Wei-Yen Tan
You can use become:yes in your play. Iirc Get Outlook for iOS From: ansible-project@googlegroups.com on behalf of Gabriel Viegas Sent: Wednesday, June 16, 2021 9:10:38 AM To: Ansible Project Subject: [ansible-project] Ansible for Windows

Re: [ansible-project] Ansible for Windows

2021-05-12 Thread Gabriel Viegas
The problem was actually on line 54, but the errors above were due to the space I had inside my inventory. Thank you so much guys. Em quarta-feira, 12 de maio de 2021 às 02:37:25 UTC-3, pradnyaw...@gmail.com escreveu: > hi, > > pls tell me what steps u hv followd for ansible for window .I am

Re: [ansible-project] Ansible for Windows

2021-05-11 Thread pradnya waghmare
hi, pls tell me what steps u hv followd for ansible for window .I am looking. thanks in advance. On Wed, 12 May, 2021, 2:47 am Gabriel Viegas, wrote: > I am completely new to Asnible, can anyone help me how to remove these > errors? I can ping a Windows machine, but these errors always appear

Re: [ansible-project] Ansible for Windows

2021-05-11 Thread Dick Visser
Errors are meant to tell you something is wrong. Removing them involves at least reading them, to understand what is wrong. Try doing that. Hint: the '54' means line 54. On Tue, 11 May 2021 at 23:17, Gabriel Viegas wrote: > I am completely new to Asnible, can anyone help me how to remove these

Re: [ansible-project] ansible and windows bastion server

2020-09-22 Thread Mauro Ferrigno
Hello, If bastion host are using winrm I suppose you need to setup a proxy_connection ( on bastion host) to forward requests to the windows hosts in the private network On bastion linux you can do this using nginx but I don't know how to achive the same result on windows bastion Il Mar 22 Set

Re: [ansible-project] ansible and windows bastion server

2020-09-22 Thread steveni...@hotmail.fr
The description of AWS is exactly what i mean by "bastion server" : a server whose purpose is to provide access to a private network from an external network. So i have a Ansible server in a "external network" and to manage my windows servers in the private network, I need to go through the

Re: [ansible-project] ansible and windows bastion server

2020-09-22 Thread Antony Stone
On Tuesday 22 September 2020 at 17:06:54, steveni...@hotmail.fr wrote: > Hello ! > > Could you please help me how to use Ansible through a Windows Bastion > Server? I found docs about Linux Bastion but for Windows it's not clear. I think you need to give a clear description of what you mean by

Re: [ansible-project] ansible and windows laptops on corporate and wan networks

2019-09-09 Thread Kai Stian Olstad
On 09.09.2019 22:08, Seth Daemen wrote: > Windows does not have cron. The equivalent to cron is task scheduler. > Is Ansible pull available for Windows? Yeh, I missed the whole Windows part, ansible-pull doesn't work in Windows. -- Kai Stian Olstad -- You received this message because you

Re: [ansible-project] ansible and windows laptops on corporate and wan networks

2019-09-09 Thread Seth Daemen
Windows does not have cron. Is Ansible pull available for Windows? -- 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

Re: [ansible-project] ansible and windows laptops on corporate and wan networks

2019-09-09 Thread Jonathan Lozada De La Matta
You can also use AWX and use the callback provision or have a crob that sends an API call in a specific time to do X. On Mon, Sep 9, 2019 at 9:38 AM Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On 09.09.2019 13:04, Seth Daemen wrote: > > We use Ansible to manage a lot of windows

Re: [ansible-project] ansible and windows laptops on corporate and wan networks

2019-09-09 Thread Kai Stian Olstad
On 09.09.2019 13:04, Seth Daemen wrote: We use Ansible to manage a lot of windows servers, which works well. Now we have also some laptops we want to manage. when theay are on the corporate network this works fine. But how can we make connection when they are on a public network, beacause

Re: [ansible-project] Ansible for windows

2019-09-02 Thread 'J Hawkesworth' via Ansible Project
Did you try using async to run the command? I think you should be able to use async with win_shell module. The other steps you describe sound like they could be done using win_copy module and fetch module to retrieve the test results. See

Re: [ansible-project] Ansible for windows

2019-09-01 Thread uday kiran
Not yet On Sun, Sep 1, 2019, 6:58 PM Barun kumar wrote: > Let me know if you find the solutions for this > > On Thu, 22 Aug 2019, 3:18 am uday kiran, wrote: > >> Hi, >> >> I wrote an autoit exe which will launch out application,test its >> functionality and store the logs in results.txt >> >>

Re: [ansible-project] Ansible for windows

2019-09-01 Thread Barun kumar
Let me know if you find the solutions for this On Thu, 22 Aug 2019, 3:18 am uday kiran, wrote: > Hi, > > I wrote an autoit exe which will launch out application,test its > functionality and store the logs in results.txt > > I want ansible to copy the autoit exe, a config file and our

Re: [ansible-project] Ansible and Windows Project

2019-08-23 Thread Simon-Pierre Diamond
Anybody has suggestion concerning Ansible Regedit vs GPO? Thank you! -Simon From: ansible-project@googlegroups.com on behalf of Simon-Pierre Diamond Sent: August 22, 2019 7:32 AM To: ansible-project@googlegroups.com Subject: [ansible-project] Ansible and

Re: [ansible-project] Ansible with Windows hosts

2019-06-04 Thread Ryad karkar
gt; on behalf of Ryad karkar < > ryad9...@gmail.com > > *Sent:* Monday, June 3, 2019 12:42:25 PM > *To:* Ansible Project > *Subject:* Re: [ansible-project] Ansible with Windows hosts > > Hi, > > Thanks for answers community ansible !! ;) > > Regards, > >

Re: [ansible-project] Ansible with Windows hosts

2019-06-03 Thread Туровский Игорь
From: ansible-project@googlegroups.com on behalf of Ryad karkar Sent: Monday, June 3, 2019 12:42:25 PM To: Ansible Project Subject: Re: [ansible-project] Ansible with Windows hosts Hi, Thanks for answers community ansible !! ;) Regards, Le samedi 25 mai 2019 11:59:04 UTC+2, Igor

Re: [ansible-project] Ansible with Windows hosts

2019-06-03 Thread Ryad karkar
Hi, Thanks for answers community ansible !! ;) Regards, Le samedi 25 mai 2019 11:59:04 UTC+2, Igor Turovsky a écrit : > > Hi Ryad, > > Ansible indeed commuicates wth Windows via WinRM as standard Windows > protocol for remote management. > Latest version of Ansible and latest version of

Re: [ansible-project] Ansible with Windows hosts

2019-05-25 Thread Игорь Туровский
Hi Ryad, Ansible indeed commuicates wth Windows via WinRM as standard Windows protocol for remote management. Latest version of Ansible and latest version of Windows also support communication via SSH. If you need to execute some SQL script on MS SQL, you have 2 directions: 1. (simler for

Re: [ansible-project] Ansible with Windows hosts

2019-05-24 Thread Stefano Leandro
Hi , Personally im using SSH ,installed from chocolatey repository. Since Ansible 2.8 ,ansible start to support SSH on Windows comunication U have to dowload ansible 2.8 from github .It's released some days ago :) Stefano Il giorno ven 24 mag 2019 alle ore 10:03 Ryad karkar ha scritto:

Re: [ansible-project] Ansible to windows client connection

2019-01-22 Thread sindhu shree
After seeing your suggestion, tried with Kerberos and NTLM This is what i see 10.67.104.45 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data

Re: [ansible-project] Ansible to windows client connection

2019-01-22 Thread sindhu shree
How to connect windows client without using user name and password, in linux we can have certificate for password less authentication. How can i achieve the same with windows client? On Saturday, January 19, 2019 at 4:12:43 AM UTC+5:30, Jordan Borean wrote: > > Setting the execution policy or

Re: [ansible-project] Ansible to windows client connection

2019-01-22 Thread sindhu shree
I did that. Am getting some certificate related errors. I just checked the connection with other windows power shell as follows. PS C:\Users\sindhu.p> winrs -r:https://ipaddress:5986/wsman -u:username -p:password ipconfig Error : Winrs error:The server certificate on the destination

Re: [ansible-project] Ansible to windows client connection

2019-01-22 Thread sindhu shree
Am trying for https. Power shell basic script as follows $url = "https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1; $file = "$env:temp\ConfigureRemotingForAnsible.ps1" $username = "username" $password = "password " Set-ExecutionPolicy

Re: [ansible-project] Ansible to windows client connection

2019-01-22 Thread sindhu shree
I did that. Am getting some certificate related errors. I just checked the connection with other windows power shell as follows. PS C:\Users\sindhu.p> winrs -r:https://ipaddress:5986/wsman -u:username -p:password ipconfig Error : Winrs error:The server certificate on the destination

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread Jordan Borean
I forgot to mention that running over http (like you are) for basic auth will only work if you have disabled message encryption on the Windows host. Do not do this, do something sane like running over https or use an authentication option that supports message encryption like Kerberos or NTLM.

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread Jordan Borean
Setting the execution policy or firewall is unrelated to authentication failures. If you really want to use Basic auth make sure you have run the following to enable it on the WIndows host; Set-Item -Path WSMan:\localhost\Service\Auth\Basic -Value True You can verify what have been enabled and

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread Rahamath
There is a PS script which will set required winrm settings (auth to basic). You need to run that script on windows host. On Fri 18 Jan, 2019, 20:47 sindhu shree Execution policy has set to Unrestricted (Using Set-ExecutionPolicy > -ExecutionPolicy Unrestricted -Force), still the same. > > On

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread sindhu shree
I followed this article and also ansible windows doc. On Friday, January 18, 2019 at 6:15:36 PM UTC+5:30, Dinesh Singh wrote: > > Follow this once and see if it works > > https://www.ansible.com/blog/connecting-to-a-windows-host > > With Regards, > Dinesh Singh > Email - dines...@gmail.com > >

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread sindhu shree
Execution policy has set to Unrestricted (Using Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force), still the same. On Friday, January 18, 2019 at 6:08:10 PM UTC+5:30, Dinesh Singh wrote: > > Also enable remote execution policy on your windows server. > > With Regards, > Dinesh Singh >

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread Dinesh Singh
Follow this once and see if it works https://www.ansible.com/blog/connecting-to-a-windows-host With Regards, Dinesh Singh Email - dineshpm...@gmail.com On Fri, Jan 18, 2019, 6:11 PM sindhu shree which option should i enable? winrm is allowed and no such specific > options for linux. > > > >

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread sindhu shree
which option should i enable? winrm is allowed and no such specific options for linux. On Friday, January 18, 2019 at 6:04:35 PM UTC+5:30, Dinesh Singh wrote: > > This basically means server rejecting the login. If you have firewall at > windows server then allow Linux server to communicate.

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread Dinesh Singh
Also enable remote execution policy on your windows server. With Regards, Dinesh Singh Email - dineshpm...@gmail.com On Fri, Jan 18, 2019, 5:59 PM sindhu shree Hi. > Am facing some authentication issues when i run ansible all -m win_ping. > Response - 10.67.104.45 | UNREACHABLE! => { >

Re: [ansible-project] Ansible to windows client connection

2019-01-18 Thread Dinesh Singh
This basically means server rejecting the login. If you have firewall at windows server then allow Linux server to communicate. With Regards, Dinesh Singh Email - dineshpm...@gmail.com On Fri, Jan 18, 2019, 5:59 PM sindhu shree Hi. > Am facing some authentication issues when i run ansible all

Re: [ansible-project] Ansible for windows and Linux

2017-12-21 Thread Brian Coca
Yes, actually that is ONLY supported way. Ansible supports managing windows machines but not as controllers. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving

Re: [ansible-project] Ansible for Windows

2017-02-23 Thread Brian Coca
The following should be enough to get you started: http://docs.ansible.com/ansible/intro_installation.html -- Brian Coca -- 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