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
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
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
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
ion=control_environment file=virtual_host.conf') }}"
>
>
> output -
> ```
> TASK [debug]
> ***
> task path: /Volumes/data/src/playbooks/section.yml:5
> ok: [localhost] => {
> "msg":
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:
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
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
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
*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
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
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&
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
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
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
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
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
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
18 matches
Mail list logo