[ansible-project] Question on win_lineinfile replace/deleting the values with-in config file

2020-05-11 Thread Kumaresh kulal
Hello, I have got a task to configure the config file by removing the not required text from the config file. Sample Config File: http://www.nlog-project.org/schemas/NLog.xsd"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> Text to Remove: ${time

[ansible-project] win_regedit software restriction HKCU

2020-04-20 Thread Kumaresh kulal
I am working on win_regedit playbook to restrict software. So far the win_regedit playbook gets created for HKEY_LOCAL_MACHINE below is the playbook: --- - hosts: windows tasks: - name: Creating a registry win_regedit: path: HKLM:\SOFTWARE\Microsoft\Windows\CurrentVers

[ansible-project] trying to download the AIM from url using win_get_url - zipped file

2020-04-09 Thread Kumaresh kulal
I am trying to download AIM Client using win_get_url and it is failing. Is this the correct win module for downloading the zipped file from internet? My playbook: - name: Download AIM zip hosts: all tasks: - name: Create C:\TEMP directory win_file: path='C:\TEMP' state=direc

[ansible-project] Re: Ansible Winrm connectivity issue - hosts behind Cyberark

2020-04-09 Thread Kumaresh kulal
This issue is solved. Issue was due to the firewall that was blocking port 5986 and 5985 Thanks, Kumaresh On Tuesday, April 7, 2020 at 8:59:16 PM UTC+5:30, Kumaresh kulal wrote: > > > > I need to run ansible playbooks on windows hosts protected by CyberArk. > > > My ma

[ansible-project] Ansible Winrm connectivity issue - hosts behind Cyberark

2020-04-07 Thread Kumaresh kulal
I need to run ansible playbooks on windows hosts protected by CyberArk. My main purpose of setting up Ansible is to mange the Windows VM's and so far I was able to manage them without the Cyberark. With this setup I was able run Ansible playbook on all windows hosts. Ubuntu Ansible ver