[ansible-project] How to gather kernel parameters of remote hosts

2020-02-17 Thread Vikrant Agarwal
1 net.ipv4.igmp_max_memberships = 4096 kernel.pid_max = 131072 kernel.pid_max = 131072 Regards Vikrant -- 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

[ansible-project] How to use multiple filter in setup module

2020-01-02 Thread Vikrant Agarwal
I want to extract only specific information of the systems using Ansible setup module , like ansible_memtotal_mb , ansible_machine and ansible_distribution_version . How to do that in single ansible command ? Regards Vikrant -- You received this message because you are subscribed to the

Re: [ansible-project] Powershell Script execution

2019-12-15 Thread Vikrant Kaushik
Thanks, can you please advise how to capture the output and emailed to stakeholders. On Sunday, 15 December 2019 22:38:22 UTC+5:30, Dick Visser wrote: > > Yes > > On Sun, 15 Dec 2019 at 16:05, Vikrant Kaushik > wrote: > >> Hi All, >> >> I'm curious i

[ansible-project] Powershell Script execution

2019-12-15 Thread Vikrant Kaushik
Hi All, I'm curious if this is possible, At a very high level, for the connectivity testing on different servers, I've to follow below steps: 1. Push two Powershell script to each server 2. Run the two PowerShell scripts on each server (listener and client) 3. Capture output and

[ansible-project] Export and Import certificates in Windows host

2019-12-11 Thread Vikrant Kaushik
e.jks *Regards* *Vikrant* -- 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 view this discussion o

[ansible-project] Selenium and Ansible

2019-11-13 Thread Vikrant Kaushik
- 10 using Ansible Step 11-12 using Selenium Step 13-15 using Ansible regards Vikrant -- 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-projec

Re: [ansible-project] Get-AnsibleParam: Missing required argument: _raw_params

2019-11-04 Thread Vikrant
WinZip.wzmul file to register. On Mon, Nov 4, 2019 at 11:51 PM Matt Martz wrote: > A quick google search leads me to believe the file can just be dropped in > the application install directory: > > http://kb.winzip.com/kb/entry/74/#wzmul > > On Mon, Nov 4, 2019 at 12:17 PM Vikran

Re: [ansible-project] Get-AnsibleParam: Missing required argument: _raw_params

2019-11-04 Thread Vikrant Kaushik
tried but nothing working. regards Vikrant On Sunday, 3 November 2019 02:35:15 UTC+5:30, Jordan Borean wrote: > > That’s because a wzmul is not a valid executable. It sounds like you need > to call another exe that is designed run those scripts/files and pass in > the path to your

[ansible-project] Unable to uninstall Notepad++ in Windows host

2019-11-04 Thread Vikrant Kaushik
I'm unable to uninstall notepad++ in the Windows host: - name: uninstall notepad++ win_package: path: '{{ notepadpp_install_dir }}\uninstall.exe' product_id: 'Notepad++*' arguments: /S state: present - name: uninstall notepad++ win_command: powershell.exe -ExecutionPolicy ByPas

Re: [ansible-project] Get-AnsibleParam: Missing required argument: _raw_params

2019-11-01 Thread Vikrant
ateProcess\" with \"5\" argument(s): \"CreateProcessW() failed (%1 is not a valid Win32 application, Win32ErrorCode 193)\"", "rc": 2 } Playbook task: - name: Install wzmul win_command: '{{ tempdir.path }}\WinZip.wzmul' regards Vikrant On Sat,

[ansible-project] Get-AnsibleParam: Missing required argument: _raw_params

2019-11-01 Thread Vikrant Kaushik
Hi All, I'm writing a playbook task to run WinZip.wzmul after WinZip installation for Winzip registration. please note WinZip has been installed without any incident. Playbook task: ** - name: Install wzmul win_command: path: '{{ tempdir.path }}\WinZip.

Re: [ansible-project] Re: Downloading corrupt file from Artifactory

2019-10-31 Thread Vikrant
Hi, Thank you for a response but in my org, e used to go with any installation with Artifactory only. regards Vikrant On Fri, Nov 1, 2019 at 10:01 AM CORLEONE## wrote: > Hi , > Can you try win_chocolatey.. > > On Thu, 31 Oct 2019, 17:58 Vikrant Kaushik, > wrote: > >>

[ansible-project] Playbook Failing while installing BitviseSSH

2019-10-31 Thread Vikrant Kaushik
if anyone can suggest something on it, which runs the task BitviseSSH installation using win_package module I'm getting below error: Playbook task: *** - name: Install Bitvise win_package: path: '{{ tempdir.path }}\bitvise-setup.exe' arguments: /install /passive /norestart

[ansible-project] Re: Downloading corrupt file from Artifactory

2019-10-31 Thread Vikrant Kaushik
I found the problem as there is some issue with Artifactory Url. regards Vikrant On Wednesday, 30 October 2019 22:49:54 UTC+5:30, Vikrant Kaushik wrote: > > Hi Team, > > I'm writing the playbook for the Notepad++ installation of the 50k servers > but while running the pla

[ansible-project] Re: WinRM with Ansible 2.8 and Python 3.7

2019-10-30 Thread Vikrant Kaushik
I'm using below setting and these are working as expected: ansible_port: "5985" ansible_connection: "winrm" ansible_winrm_scheme: "http" ansible_winrm_transport: "kerberos" ansible_winrm_server_cert_validation: "ignore" ansible_winrm_operation_timeout_sec: 20 ansible_winrm_read_timeout_sec: 30 O

[ansible-project] Downloading corrupt file from Artifactory

2019-10-30 Thread Vikrant Kaushik
Hi Team, I'm writing the playbook for the Notepad++ installation of the 50k servers but while running the playbook I've found the downloaded file from Jfrog artifactory is corrupt. can you please advise where I'm doing wrong, I tried to run manually and found the same error, moreover file size

Re: [ansible-project] Ansible Play book for the Windows exe file

2019-10-23 Thread Vikrant
Makes sense, thanks Jon for the help. Excuse the typo, sent from smartphone. On Wed, Oct 23, 2019, 5:17 PM 'J Hawkesworth' via Ansible Project < ansible-project@googlegroups.com> wrote: > If you store all the settings you need in your ansible playbook this is > not a problem. > > I like to have

Re: [ansible-project] Ansible Play book for the Windows exe file

2019-10-23 Thread Vikrant
Thanks again Jon, working fine but --Option syntax is not retaining the existing values. regards Vikrant On Tue, Oct 22, 2019 at 5:01 PM 'J Hawkesworth' via Ansible Project < ansible-project@googlegroups.com> wrote: > You are using ++Option. I think it will do what you wa

Re: [ansible-project] Ansible Play book for the Windows exe file

2019-10-22 Thread Vikrant
//Tomcat_WEw ++JvmOptions="-Djavax.net.ssl.trustStore=D:\apps\Tomcat_WE\conf\bpstruststore.jks;-Djavax.net.ssl.trustStorePassword={{ pass }};-Dhttps.protocols=TLSv1.2" args: chdir: D:\apps\Tomcat_WE\bin\ regards Vikrant On Tue, Oct 22, 2019 at 3:37 PM 'J Hawkesworth'

[ansible-project] Ansible Play book for the Windows exe file

2019-10-21 Thread Vikrant Kaushik
advise if this is possible using Ansible. regards Vikrant -- 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.co

Re: [ansible-project] Ansible Playbook and Jenkins

2019-09-24 Thread Vikrant Kaushik
Got it, thanks On Tuesday, 24 September 2019 18:43:30 UTC+5:30, Jonathan Lozada De La Matta wrote: > > this is the community alias. > > On Tue, Sep 24, 2019 at 9:09 AM Vikrant > wrote: > >> Hi Jonathan, >> >> I'll check it out, but if you can share any

Re: [ansible-project] Ansible Playbook and Jenkins

2019-09-24 Thread Vikrant
Hi Jonathan, I'll check it out, but if you can share any official Redhat Ansible then it would be great. regards Vikrant On Tue, Sep 24, 2019 at 6:18 PM Jonathan Lozada De La Matta < jloza...@redhat.com> wrote: > This is a long conversation. I suggest you google this topic as t

[ansible-project] Ansible Playbook and Jenkins

2019-09-24 Thread Vikrant Kaushik
Hi, Can anybody advise how to run Ansible Playbook using Jenkins and how to integrate. regards Vikrant -- 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

[ansible-project] [Ansible-Project]: Java Upgrade on Windows Server.

2019-09-23 Thread Vikrant Kaushik
chive app logs 5. Start App services. Verify them all started 6. Enable Service back to LB Pool 7. clean up old logs regards Vikrant -- 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-Project]: Java Upgrade on Windows servers

2019-09-23 Thread Vikrant Kaushik
chive app logs 5. Start App services. Verify them all started 6. Enable Service back to LB Pool 7. clean up old logs regards Vikrant -- 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] Re: Dynamic Inventory for the On Prem Windows Servers

2019-09-21 Thread Vikrant Kaushik
On Friday, 20 September 2019 10:50:43 UTC+5:30, Vikrant Kaushik wrote: > > Hi All, > > Can anyone advise if anybody created dynamic inventory for the on-prem > Windows servers? > > I'm 150+ client and per client has 40+ server which is on PRD, DR, QA, > UAT and

[ansible-project] Dynamic Inventory for the On Prem Windows Servers

2019-09-19 Thread Vikrant
Hi All, Can anyone advise if anybody created dynamic inventory for the on-prem Windows servers? I'm 150+ client and per client has 40+ server which is on PRD, DR, QA, UAT and Dev environments. Regards Vikrant -- You received this message because you are subscribed to the Google G