[ansible-project] Cisco jump host

2018-05-17 Thread Tcpip
Hi all, I'm using Ansible for network tasks, I would like to know if I can use Ansible to configure a network device having a device in the middle. This is what I mean. Ansible Server ---> Cisco Device ---> Target. I would like to know if this is possible. thanks. all -- You received

[ansible-project] Re: Powershell script failing when run in playbook - works on other servers and runs ok manually on target host - cannot find path

2018-05-17 Thread java_cat33
OK - issue resolved was targeting wrong server in inventory file! On Friday, May 18, 2018 at 12:05:15 PM UTC+12, java_cat33 wrote: > > The play copies a powershell script and runs it on the target - the script > looks up files in C:\Temp. This path definitely exists. > > I can run this play

[ansible-project] Powershell script failing when run in playbook - works on other servers and runs ok manually on target host - cannot find path

2018-05-17 Thread java_cat33
The play copies a powershell script and runs it on the target - the script looks up files in C:\Temp. This path definitely exists. I can run this play without issues against other test servers - now that I want to run this play on the actual server I want to configure I get the below

[ansible-project] Re: win_updates fail

2018-05-17 Thread Jordan Borean
Sorry I meant 2.5.3. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to

[ansible-project] Re: win_updates fail

2018-05-17 Thread Jordan Borean
It will be in the 2.6.0 release but I also backported it for the 2.5.4 release which is imminent. In saying that it won’t actually fix the issue but it will give you the result code as to why the download failed. With this result code we can proceed further to trying to find out what is

RE: [ansible-project] Re: Installing Java JRE on windows 2016 core

2018-05-17 Thread william.dossett
Hi, I was unable to get the JRE to install. I think it has something to do with it trying to register javaWS in the registry with browsers and as this is core there is of course no browser. I did however get the JDK to install… I used the win_command – but I think I will go back and

Re: [ansible-project] Host lists, facts and handlers

2018-05-17 Thread Marc Haber
Hi Kai, (apology for taking six weeks to answer from other mail applies hier as well) On Tue, Apr 03, 2018 at 09:58:56PM +0200, Kai Stian Olstad wrote: > On 02.04.2018 16:53, Marc Haber wrote: > > On Sat, Mar 31, 2018 at 09:39:37PM +0200, Kai Stian Olstad wrote: > > > On Saturday, 31 March 2018

Re: [ansible-project] Host lists, facts and handlers

2018-05-17 Thread Marc Haber
Hi Kai, sorry for not getting back to you (and this list) any earlier; the ansible stuff is just something I'm trying to grasp, and the paid-for stuff kept prioritizing itself over and over again. On Tue, Apr 03, 2018 at 10:07:08PM +0200, Kai Stian Olstad wrote: > I would say don't use add_host

[ansible-project] Ansible and Active Directory DNS updates

2018-05-17 Thread ADB101
Hi We're using MS Active Directory to provide DNS resolution. I need to be able to add DNS entries to Active Directory but, not being a MS-techie, I'm not sure about the technicalities of doing so...The nsupdate module seems to do

[ansible-project] Re: azure_rm_virtualmachine: error to import AzureRMModuleBase

2018-05-17 Thread Irfan Sayed
please suggest On Wednesday, May 16, 2018 at 5:04:34 PM UTC+2, Irfan Sayed wrote: > yes. I did that already and here is the output. > > [root@centos]# pip install packaging > Requirement already satisfied (use --upgrade to upgrade): packaging in > /usr/lib/python2.7/site-packages > > > On

Re: [ansible-project] Re: File copy/Create folder on Windows server based upon json output from Powershell

2018-05-17 Thread Lee Drew
Cool. Thanks Jordan. Works a treat. On Thu, 17 May 2018, 7:13 PM Jordan Borean, wrote: > Yep, I would create a hashtable, convert that to JSON and output that. > That way you can parse that into Ansible easily and select whatever key you > want. This is how the PowerShell

[ansible-project] Re: winrm send_input failed

2018-05-17 Thread Abhijeet Kamble
Facing the same issue with Ansible 2.4.1 WINRM RESULT u'' PUT "/tmp/P20FrontOffice.zip" TO "C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source" WINRM PUT "/tmp/P20FrontOffice.zip" to

[ansible-project] Re: winrm send_input failed

2018-05-17 Thread Abhijeet Kamble
I am facing the same while copying the content from linux machine to windows. WINRM RESULT u'' 806 PUT "/tmp/P20FrontOffice.zip" TO "C:\Users\svc_a_am_prf_np\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source" 807 WINRM PUT "/tmp/P20FrontOffice.zip" to

Re: [ansible-project] delegate_to with --extra-vars usage

2018-05-17 Thread 'deewon' via Ansible Project
Thanks Brian. This pretty much nailed it Dayo On Tuesday, May 15, 2018 at 6:28:25 PM UTC+1, Brian Coca wrote: > > quotes!: > > delegate_to: "{{ groups[v_grp] | random }}" > > > > > > -- > -- > Brian Coca > -- You received this message because you are subscribed to the Google

Re: [ansible-project] delegate_to with --extra-vars usage

2018-05-17 Thread 'deewon' via Ansible Project
Thanks for the hint On Tuesday, May 15, 2018 at 5:02:24 PM UTC+1, Brian Coca wrote: > > do --extra-vars="v_grp=testgrp" > > > -- > -- > Brian Coca > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group

[ansible-project] Re: File copy/Create folder on Windows server based upon json output from Powershell

2018-05-17 Thread Jordan Borean
Yep, I would create a hashtable, convert that to JSON and output that. That way you can parse that into Ansible easily and select whatever key you want. This is how the PowerShell modules work as well. Thanks Jordan -- You received this message because you are subscribed to the Google Groups