[ansible-project] Ansible managed Windows Hosts and GCP Buckets

2021-08-10 Thread Craig Franz
Hi All, I have need to pull source files down from a non public GCP Cloud Buckets and I was wondering if there is any Ansible Modules for windows that support this I was looking into gsutil cmd that can be run from google cloud SDK Shell from a Remote Windows Host running in GCP but was

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
e...@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 > > > I have one question about using Ansible with Windows > >1. > >How

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<https://aka.ms/o0ukef> 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 W

[ansible-project] Ansible for Windows

2021-06-15 Thread Gabriel Viegas
I have one question about using Ansible with Windows 1. How to enable Administrator user with Ansible 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

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

[ansible-project] Ansible for Windows

2021-05-11 Thread Gabriel Viegas
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 before. [image: ansible-1.png] -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

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

[ansible-project] ansible and windows bastion server

2020-09-22 Thread steveni...@hotmail.fr
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 have a windows bastion server(1) that allows me to connect to other windows servers(2). and I want to manage those windows server(2). Is that

[ansible-project] Ansible with Windows Shared Folder

2020-03-31 Thread Jordan Borean
You are probably hitting the double hop issue over The WinRM. See https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html#limitations for some workarounds. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

[ansible-project] Ansible with Windows Shared Folder

2020-03-31 Thread David Foley
Hi, I'm trying to roll out Microsoft DSC Using the following Playbook to install the application --- - name: hosts: win gather_facts: false #connection: win tasks: - name: Install DSC win_shell: 'Set-DscLocalConfigurationManager -Path

[ansible-project] Ansible for Windows Server DHCP feature (dhcpmgmt.msc)

2020-01-27 Thread Yehuda Pinhas
Hi, I want to create ansible automation for create IPv4 pools on Windows Server 2019 operating system. This is where I want to add the pool: [image: Capture.PNG] >From what I understand I have two options I could do that: 1. Is to the find dhcpmgmt built-in Ansible module which is

[ansible-project] Ansible for windows

2020-01-09 Thread Arjan Goos
Hi, Is it possible to create itemType Junction (symbolic link) . I want something like this: New-Item -ItemType Junction -Path D:\Program-Files\website-Name conf -Target D:\Data\Website\conf Groeten, Arjan -- You received this message because you are subscribed to the Google Groups

[ansible-project] Ansible on Windows Environment

2019-10-23 Thread 'J Hawkesworth' via Ansible Project
Hi It is not clear what you are trying to do. By default ansible connects to Windows as batch login type, not interactive user, so usually there is no graphical user interface available to ansible. You can get an interactive user login by using the Become feature of ansible, but ansible is

[ansible-project] Ansible on Windows Environment

2019-10-22 Thread Harini K
Hi, We followed below steps to use Ansible on Windows. 1. Installing Ansible on Cygwin 2. Using Host machine as Windows machine 3. Using Powershell to perform actions. The issues which we are facing are : 1. On launching any application it launches as background task (service). 2. PSExec

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

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

2019-09-09 Thread Seth Daemen
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 ansible does not have an agent. -- You

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
and Windows Project Hi Ansible Community, It is my first post here. I am coming to get more information about Windows management with Ansible. I have been using Ansible for about a year now, and I am able to manage Windows with the WinRM with certificate. My playbooks manage the initial set up for all

[ansible-project] Ansible and Windows Project

2019-08-22 Thread Simon-Pierre Diamond
Hi Ansible Community, It is my first post here. I am coming to get more information about Windows management with Ansible. I have been using Ansible for about a year now, and I am able to manage Windows with the WinRM with certificate. My playbooks manage the initial set up for all of the

[ansible-project] Ansible for windows

2019-08-21 Thread uday kiran
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 application to a vm amd launch the autoit exe. How to launch this and wait till it completes and copy the file back.?

[ansible-project] Ansible with windows

2019-08-01 Thread Irfan Pasha
Hi, I have been using ansible for a while and I love it. It just makes complex things very easy. So far I have been ansible on CentOS and it has been a cake walk. Now I have to do some automation on windows and I see that the WinRM is very slow. I see that just Gathering facts itself from a

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:

[ansible-project] Ansible with Windows hosts

2019-05-24 Thread Ryad karkar
Hey, I would like to know if there is only one solution for that ansible communicate with Windows host ? winrm and script powershell execute on Windows host ==> is the only solution for that ansible can communicate with Windows host ? Because if i must configure all Windows host at hand,

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

[ansible-project] Ansible to windows client connection

2019-01-18 Thread sindhu shree
Hi. Am facing some authentication issues when i run ansible all -m win_ping. Response - 10.67.104.45 | UNREACHABLE! => { "changed": false, "msg": "basic: the specified credentials were rejected by the server", "unreachable": true } The user which am trying to connect is

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

[ansible-project] Ansible with Windows

2017-11-28 Thread Alicia Nguyen
Hi, I had ansible controlling a few Windows machines but I've had to disable Basic Authentication for WinRM due to security concerns. Is it possible to use control Windows machines via ansible without basic WinRM authentication? Thanks, Alicia Nguyen -- You received this message because you

[ansible-project] Ansible + Chocolatey + Windows File based local repository

2017-11-23 Thread 'Adam Brush' via Ansible Project
Morning, I've had issues with getting Ansible / Chocolatey to use a network share local file server / repository, however i've now managed to get it working. Details here: https://controlaltfail.wordpress.com/2017/11/23/ansible-and-chocolatey-with-windows-fileshare-repository/ A -- You

[ansible-project] Ansible for Windows...

2017-10-24 Thread 'J Hawkesworth' via Ansible Project
It probably depends what you do with it. If you are mostly managing windows machines you probably won't need to do much than know how to run commands and edit files on Linux. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe

[ansible-project] Ansible for Windows...

2017-10-24 Thread Lalit Chawla
I am new to Ansible but have powershell and Windows admin experience. Will there be still requirements to learn Linux/unix as I saw it works well with SSH. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and

[ansible-project] Ansible with windows server 2008 r2 sp1 - sysprep

2017-07-06 Thread Fernando Henrique Borges
Hi. I deployed one VM (Vcenter Server/ESXi 5.5.0) from windows server 2008 r2 template using ansible playbook. Now I 'd like to initialize it, but the vm is configured with sysprep, When the ansible start the vm, it stop in the windows startup. hosts: localhost connection: local

[ansible-project] ansible and windows AD module

2017-07-05 Thread anil kumar
I am trying to invoke AD commands( I put this into powershellscript) from ansible server. I am using Kerberos in the ansible server for auth. Can you guys help in this issue? Below is my powershell script runs on windows server(windows server 2008 r2 standard), which is in domain. I am able to

[ansible-project] Ansible for Windows: strange behavior

2017-03-17 Thread Michele Viviani
Hi, I do have some problems using Ansible with Windows. For many of my servers it works, but for some I'm receiving "HTTPConnectionPool(host='10.10.193.180', port=5985): Read timed out" even if the WinRM configuration is correct. (it's the same as several others) More over, if I run a

[ansible-project] Ansible on Windows host with two FQDNs

2017-03-09 Thread MKPhil
Hi, I posted a similar question over on Stack Overflow but without any helpful replies so I thought I'd try this group too... I don't think it is an Ansible question per se but has arisen from our use of Ansible We have Windows servers with two NICs, two separate IPs and two FQDNs in DNS,

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

[ansible-project] Ansible for Windows

2017-02-23 Thread Frank Mehlhop
Hi, I work with Windows. I would like to use Vagrant on with gitolite my machine and therefore I need Ansible. Is it a piece of Software to download and install? Where do I get it? Or how do I get Ansible on my machine? Would be lovely to get help! Frank -- You received this message because

[ansible-project] Ansible on Windows w/o administrator privileges possible?

2016-09-07 Thread alv2412 via Ansible Project
Hello, Is it possible to use a non-administrator user to run Ansible against Windows hosts and if yes, how? I've used ``invoke-command -computername localhost -credential ansible -scriptblock {$env:computername}`` to test inside Powershell, which works fine only if the Ansible user is

[ansible-project] Ansible managing Windows hosts with non admin user

2016-02-20 Thread Julian Saunders
Hello, I use Ansible to manage Linux hosts and just recently had a requirement to manage Windows Servers. I have Ansible working against a Windows 2012 R2 host using an account (test_user) that is part of the "administrators" group. I would like reduce the rights of test_user, so it is no

[ansible-project] Ansible - configuring windows win_acl

2015-11-28 Thread J Hawkesworth
Can you share your playbook, it's hard to make suggestions without some context? -- 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-project] Ansible - configuring windows win_acl

2015-11-27 Thread Larion Ciprian
I am struggling for some time now to get some permission on a windows folder for some domain users but it looks like my users are not recognized. The kerberos authentication between my Linux machine and windows domain work correctly. I can grant access to already created local users. I am