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 <vikramsunda...@gmail.com> wrote:

> I have several tasks in a playbook. I want to see -vvvv (highest verbose
> level) only for a single task in the playbook. So i don't want to give
> -vvvv after 'ansible-playbook sample.yaml'.
>
> Is there any way to display -vvvv info only for a single task while
> running the playbook?
>
>
> Thanks,
>
> Vikram
>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/ansible-project/d6d1c317-5a49-4f99-b6b4-7ffa0bbea24an%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/d6d1c317-5a49-4f99-b6b4-7ffa0bbea24an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFtMuduR8WXO2BRRW6B5r4RG1iWKRm7Vt98%2B%3DgD3dmswQCJKGQ%40mail.gmail.com.

Reply via email to