Hello Saravanan,

Have you tried "Regular Expression Filters" (regex_search) ??

On Sun, Dec 30, 2018 at 8:44 AM Saravanan <[email protected]> wrote:

> Hi Ansible experts,
>
> {
>     "outcome" => "success",
>     "result" => "running"
> }
> {
>     "outcome" => "success",
>     "result" => 2160063879L
> }
>
> Please help to filter the string running and the numeric value 2160063879
> from the above stdout output using jinja2 filter into two different
> variables.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/133888b5-6b7d-4397-90ee-66a7d6c7a343%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/133888b5-6b7d-4397-90ee-66a7d6c7a343%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BLLie4UJf-nbCKet8RNArhoNnhE%3D1U1bHJZuKDvV2yDFO1%2Bkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to