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 <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>
> .
>


-- 

Thanks,

Pushparaj G

-- 
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/CAE5Yv1SzB-F5908um30XxFGNWWzYteKXfUOTyE-9-rbHx2m%3DHQ%40mail.gmail.com.

Reply via email to