Re: [ansible-project] Re: Failed message for async-status module

2023-04-21 Thread Neha Singh
uld be simply appending a line to a file > listing failed hosts, maybe with timestamps) isn't as likely to hide > unicorns in the forest. > > I'm reasonably convinced this will actually do what you're trying to > achieve with async and async_status. But then Ansible man

[ansible-project] Re: Failed message for async-status module

2023-04-21 Thread Neha Singh
eally annoying because it can take ~30 minutes to find out that the async task failed 30s in to the run. Is there a way to preserve the concurrent behaviour but have ansible fail as soon as the async task fails? On Thu, Apr 20, 2023 at 5:44 PM Neha Singh wrote: > Hi Team > I am using async_statu

[ansible-project] Failed message for async-status module

2023-04-20 Thread Neha Singh
Hi Team I am using async_status module in ansible task, which is performing patching on several hosts and till the time that got completed, I will get waiting message stream on the command line: - name: Wait to complete patch installation in managed hosts async_status: jid={{ item.ansible_job

[ansible-project] Create action plugin script with two modules

2023-03-29 Thread Neha Singh
ping action plugin. Need some help regarding the same Thanks & Regards Neha Singh -- 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 ansibl

Re: [ansible-project] lookup.ini plugin doesn't work

2023-03-10 Thread Neha Singh
ion=control_environment file=virtual_host.conf') }}" > > > output - > ``` > TASK [debug] > *** > task path: /Volumes/data/src/playbooks/section.yml:5 > ok: [localhost] => { > "msg":

Re: [ansible-project] lookup.ini plugin doesn't work

2023-03-10 Thread Neha Singh
Adding the full error message: Error was a , original message: An unhandled exception occurred while running the lookup plugin 'ini'. Error was a , original message: No section: u'edgy'"}ESC[0m On Friday, March 10, 2023 at 7:22:10 PM UTC+5:30 Neha Singh wrote:

Re: [ansible-project] lookup.ini plugin doesn't work

2023-03-10 Thread Neha Singh
iday, March 10, 2023 at 7:00:14 PM UTC+5:30 Abhijeet Janwalkar wrote: > Hey, > Is there a typo in file name > - and _. > Or it's only in mail. > > Warm regards > Abhijeet > > On Fri, 10 Mar, 2023, 14:17 Neha Singh, wrote: > >> Ok, one more question thou

Re: [ansible-project] lookup.ini plugin doesn't work

2023-03-10 Thread Neha Singh
ection in ini file that you have created. > > On Fri, Mar 10, 2023 at 6:25 PM Neha Singh wrote: > >> Hi Team, >> >> I have created one file where I have specify a variable: >> >> path: /opt/si/ansible/conf/virtual_host >> >> transient_partition_size

[ansible-project] lookup.ini plugin doesn't work

2023-03-10 Thread Neha Singh
Hi Team, I have created one file where I have specify a variable: path: /opt/si/ansible/conf/virtual_host transient_partition_size = 200G And then trying to print the variable by using lookup through another playbook: - debug: msg: "{{ lookup('ini', 'transient_partition_size section={{contro

[ansible-project] Call async_status & python script in one task (Failed error message)

2023-02-21 Thread Neha Singh
*here. Can you please suggest something, what should be the next thing to do here. I really need some customised message to print, which I am retrieving from python script. Is there any way to include both async_status & python script module in one task. Thanks Neha Singh -- You received

[ansible-project] Re: Ansible long running task status

2023-02-14 Thread Neha Singh
Hi Team, Can someone please help with the below query. Thanks & Regards Neha Singh On Monday, February 13, 2023 at 10:21:29 AM UTC+5:30 Neha Singh wrote: > Hi Team, > > Below is the two ansible task, one is for running patch installer and > other task is to tracking t

[ansible-project] Ansible long running task status

2023-02-12 Thread Neha Singh
ike patch is running in which host, what is it mode, whether mode gets completed or not, its error message etc. in Command line only. Could you please help me here. Thanks & Regards Neha Singh -- You received this message because you are subscribed to the Google Groups "Ansible Project&

Re: [ansible-project] Download artifacts from artifactory into server location

2022-11-04 Thread Neha Singh
wrote: > Have you checked if the URL is working or not? It seems that the server or > URL is not working. > > On Fri, Nov 4, 2022 at 1:03 PM Neha Singh wrote: > >> Hi Team, >> >> I was trying to download the maven artifact from required location (in >> artifa

[ansible-project] Download artifacts from artifactory into server location

2022-11-04 Thread Neha Singh
tranet.ibm.com/ping: https://q1artifactory-dev.secintel.intranet.ibm.com/: Name or service not known* Do let me know what I can do to resolve this issue and download the artifact into a specified location in host. Thanks & Regards Neha Singh -- You received this message because you are subscribe

[ansible-project] failed_when condition is not working

2022-10-18 Thread Neha Singh
Hi Team, I was trying to add one condition, in which if it should failed on that particular point. So, entire playbook should stop. Below is the written playbook. *- hosts: all gather_facts: yes pre_tasks:- name: Verification Step before starting the post-patch playbook

[ansible-project] Avoid writing same condition to call role or playbook

2022-10-11 Thread Neha Singh
Hi Team, I have started working on Ansible from last 2-3 months only, so not able to remember all module by heart. I did setup one env variable (result) and then based on that value I am trying to call the role and playbook is importing. Below is the code for the same *- hosts: all * *gather_f

Re: [ansible-project] Override Ansible Prompt Statement (used with pause module in playbook) during automation

2022-10-11 Thread Neha Singh
any detail guidance from your side will be really helpful. I am looking forward to it.* Thanks & Regards Neha Singh On Tuesday, October 11, 2022 at 6:29:07 PM UTC+5:30 Brian Coca wrote: > if ansible detects it is running in batch (no tty) it will not prompt, > so I would suggest

[ansible-project] Override Ansible Prompt Statement (used with pause module in playbook) during automation

2022-10-10 Thread Neha Singh
check when playbook runs through automation. *Overall, is there any way to skip the prompt or that conditional check to call role, while playbook runs through automation?* Thanks & Regards Neha Singh -- You received this message because you are subscribed to the Google Groups "Ansible Projec