Hi,

> Don't you need to put "RUNNING" in quotes? It is a string, no?
> 
>   when: "RUNNING" in job_check.stdout_lines 

actually you need double quotes, since YAML would complain about the
quotes not being terminated correctly:

>   when: '"RUNNING" in job_check.stdout_lines'

Alternatively you could write some multiline string:

>   when: >-
>     "RUNNING" in job_check.stdout_lines

Cheers,
Felix


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20220815204044.33a1a7b9%40rovaniemi.

Reply via email to