or we add this https://github.com/ansible/ansible/pull/74888
--
--
Brian Coca
--
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+uns
Hi,
I tried this but it doesn't exactly meet my requirements. I need to run
only a single task with highest level verbosity. If i were to specify
verbosity level as 4 as given in the article and if i were to run -,
then all other tasks which have lower verbosity will also show debug info,
Hi pushparaj,
The problem with this approach is that it is hiding even the normal output
(success/fail, etc) of each task when i don't use -. So it is hiding
output of each task that i would otherwise need to see. Thanks for replying
though.
Regards,
Vikram
On Wednesday, 2 June, 2021 at 7
Might be worth trying
https://awsbloglink.wordpress.com/2018/11/11/how-to-control-the-output-of-ansible-debug-with-verbose/
Also, there is an existing issue with this
https://github.com/ansible/ansible/issues/24215
On Wed, Jun 2, 2021 at 12:10 PM pradnya waghmare
wrote:
> 8
>
> On Wed, 2 Jun, 2
8
On Wed, 2 Jun, 2021, 9:00 am prasanna kumar, wrote:
> There are log plugins specifically for these. You can refer logcallback
> plugin in ansible.
>
> Create a copy of it and customize it as per your need.
>
>
> On Wed, Jun 2, 2021, 1:37 AM Vikram S wrote:
>
>> I have several tasks in a playb
There are log plugins specifically for these. You can refer logcallback
plugin in ansible.
Create a copy of it and customize it as per your need.
On Wed, Jun 2, 2021, 1:37 AM Vikram S wrote:
> I have several tasks in a playbook. I want to see - (highest verbose
> level) only for a single t
I don't think there is a straightforward way.
As a workaround you could run the whole play with no_log: true and add
no_log: false explicitly to your task calling ec2 action. Then run the
playbook with -v.
On Wed, Jun 2, 2021 at 1:37 AM Vikram S wrote:
> I have several tasks in a playbook. I wa
I have several tasks in a playbook. I want to see - (highest verbose
level) only for a single task in the playbook. So i don't want to give
- after 'ansible-playbook sample.yaml'.
Is there any way to display - info only for a single task while running
the playbook?
Thanks,
Vikr