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
: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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>>
>>
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
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
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
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.?
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
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,
>
>
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
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
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
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:
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,
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
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
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
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
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
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.
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
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
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
>
>
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
>
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.
>
>
>
>
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.
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! => {
>
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
67 matches
Mail list logo