Re: [ansible-project] can anyone give me support for me in ansible scripts

2021-01-06 Thread Piyush Bansal
Hello, What help u need ?? On Thu, 7 Jan, 2021, 1:17 pm prathyusha, wrote: > Hi all, > > Anyone can provide support in writing ansible scripts please its urgent > if you want to give support call me or provide me your number. > > Thanks & Regards > Prathyusha > +91 8374375359 > > -- > You

Re: [ansible-project] Failed to create a virtual machine : Cannot complete customization

2020-08-26 Thread Piyush Bansal
Dear Friend, You can remove waitforip because you are not giving network ip .. atleast as per your playbook shown. Instead, you can mention waitforcustomization as true!! Also, you are not mentioning network ip address/subnet/gateway details... How is it supposed to contact the domain

Re: [ansible-project] Upgrade Ansible from 2.9.10 to 2.9.11 on RHEL8

2020-08-12 Thread Piyush Bansal
Hello, Apart from manual install, there is two other ways depending your infrastructure apart from manual way: 1) if you have a proxy for internet then configure proxy on rhel8 ansible node and then perform install via pip. If you don't have proxy already then you could configure squid default

Re: [ansible-project] Win_ping failing with Correct Credentials

2020-03-16 Thread Piyush Bansal
Thanks & Regards, Piyush Bansal On Sat, Mar 14, 2020 at 3:29 PM 'J Hawkesworth' via Ansible Project < ansible-project@googlegroups.com> wrote: > Could it be that this patch is missing? > https://docs.ansible.com/ansible/latest/user_guide/windows_setup.html#winrm-memory-hotfix &g

[ansible-project] Win_ping failing with Correct Credentials

2020-03-11 Thread Piyush Bansal
Error: the specified credentials were rejected by the server a.b.c.d | UNREACHABLE! => { "changed": false, "msg": "ssl: the specified credentials were rejected by the server", "unreachable": true } Thanks, Piyush Bansal 9650865898

Re: [ansible-project] Re: Win_ping Module | failed to run exec_wrapper | URGENT

2020-02-26 Thread Piyush Bansal
0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess) at System.Management.Automation.CommandProcessorBase.Complete() fatal: [a.b.c.d]: FAILED! => changed=false msg: 'internal error: failed to run exec_wrapper action

Re: [ansible-project] Re: Win_ping Module | failed to run exec_wrapper | URGENT

2020-02-26 Thread Piyush Bansal
Hello Jordan and Hawkesworth, Many Thanks for your email..!! I disabled all services of Anti-Virus software on the server and tried win_ping but still the same issue. Tried with unrestricted, remotesigned and bypass execution policy but still win_ping does not work. Local user account which I

[ansible-project] Win_ping Module | failed to run exec_wrapper | URGENT

2020-02-24 Thread Piyush Bansal
Hello, I am running win_ping for windows 2008R2 64bit server from ansible 2.8.2 & python version = 2.7.5. Below are connection parameters: winrm ssl 5986 ignore certificates Admin user Credentials are working fine and no issues. While running this task I am getting following error. Never have

Re: [ansible-project] Re: Ansible V2.7 - kerberos: authGSSClientStep() failed:

2019-10-15 Thread Piyush Bansal
Hello Sushena, Hope you are doing well..!! I have faced exact same situation and it got resolved. Please Could u give me following: -nslookup of the member server fqdn you are pinging from ansible server -Output of command setspn -l -ansible hosts file section which shows the server names on

Re: [ansible-project] Kerberos Authentication Failed | kerberos: authGSSClientStep() failed | Help URGENT

2019-10-04 Thread Piyush Bansal
g an ip address. > I hope this helps, > Jon > > On Thursday, October 3, 2019 at 7:57:30 AM UTC+1, Piyush Bansal wrote: >> >> Hello Nandha, >> >> Thanks for writing me but we have to use kerberos authentication due to >> security reasons. >> So, need

Re: [ansible-project] Kerberos Authentication Failed | kerberos: authGSSClientStep() failed | Help URGENT

2019-10-03 Thread Piyush Bansal
t work > > On Wed, Oct 2, 2019, 5:37 PM Piyush Bansal > wrote: > >> Hello, >> >> I am trying to use Windows-2008-R2 AD domain authentication for my >> windows infrastructure playbooks however its failing with following error: >> Also tried just for win_ping

[ansible-project] Kerberos Authentication Failed | kerberos: authGSSClientStep() failed | Help URGENT

2019-10-02 Thread Piyush Bansal
Hello, I am trying to use Windows-2008-R2 AD domain authentication for my windows infrastructure playbooks however its failing with following error: Also tried just for win_ping and ping but still everything fails. ERROR: --- "kerberos: authGSSClientStep() failed:

Re: [ansible-project] with_sequence run a line only once

2019-01-05 Thread Piyush Bansal
at, Jan 5, 2019 at 10:41 PM Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On Saturday, 5 January 2019 15:44:19 CET Piyush Bansal wrote: > > Hello Karl, > > > > Here is the task which I want to loop over but need to run "size: XX" > line > > on

Re: [ansible-project] with_sequence run a line only once

2019-01-05 Thread Piyush Bansal
unit: "GiB" with_sequence: start=1 end={{item10}} ignore_errors: True On Sat, Jan 5, 2019 at 8:03 PM Karl Auer wrote: > Please provide sample code, or pseudocode > > On Sun, Jan 6, 2019 at 12:08 AM Piyush Bansal < > bansalpiyush.198...@gmail.com> wrote: >

[ansible-project] with_sequence run a line only once

2019-01-05 Thread Piyush Bansal
Hello, I am trying to loop over a task using "with_sequence" and I need to make it work such that it run one specific line only once but rest of the lines it executes as normal times. It not succeeding or I am not able to figure out how to do it. Please advise Ansible 2.7.5 Python: 3.6.6 CentOS

Re: [ansible-project] Porting playbooks from Ansible 2.4 to newer version

2018-12-31 Thread Piyush Bansal
Hello Julien, First and foremost thing is to refer to porting guide for your target version. Ansible 2.5 Porting Guide This will give you information about what have changed and you can change them in your older

Re: [ansible-project] How to filter string in Ansible using jinja2?

2018-12-31 Thread Piyush Bansal
Hello Saravanan, Have you tried "Regular Expression Filters" (regex_search) ?? On Sun, Dec 30, 2018 at 8:44 AM Saravanan wrote: > Hi Ansible experts, > > { > "outcome" => "success", > "result" => "running" > } > { > "outcome" => "success", > "result" => 2160063879L > } > >

Re: [ansible-project] How to set timeout value for a task using shell module?

2018-12-28 Thread Piyush Bansal
Have u explored async mode ?? On Fri 28 Dec, 2018, 10:23 PM Saravanan Hi Ansible Experts, > We are running tasks using shell module. Sometime these tasks are pending > due to backend application server slow response. Is there anyway to set > timeout for these tasks to exit after certain time