Dear all,
I cannot get the following line to work:
shell: "{{java_home}}/bin/java -version 2>&1 | grep 'java version' |
egrep '{{ '1\.[789]' | regex_escape() }}'"
Obviously this line already went through quite some iterations, but I
cannot get the YAML parser to even accept ist. It always throws a
"Syntax Error while loading YAML" with a mark pointing to the "\" character.
Is there any chance gatting this to work (or testing for a allowed range
of java version by any other means)?
Cheers, Kai
--
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/27cac203-f15b-30a2-c5d6-e0b8160787c5%40gmx.de.
For more options, visit https://groups.google.com/d/optout.