Ignore the request for filing an issue, I committed a change that should fix this problem. The fix is available for testing in ansible/ansible devel
On Tue, Mar 22, 2016 at 4:25 PM, Peter Sprygada <pspryg...@ansible.com> wrote: > Thats a bug... could you file an issue at > github.com/ansible/ansible-modules-core please? > > On Tue, Mar 22, 2016 at 2:17 PM, Martin Baro <martin.baro...@gmail.com> > wrote: > >> Hi Uditha, >> >> Thanks for the reply. >> I've simplified the problem a bit (just removed the variable) and with >> removing the "" around the whole statement I managed to preserve the quotes. >> Unfortunately it didn't solve the problem: >> >> waitfor: >> - result[0].vrfs.default.routes[\'1.2.3.4/30\'].hardwareProgrammed >> <http://1.2.3.4/30%5C'%5D.hardwareProgrammed> eq true >> >> The error was: ValueError: result[0].vrfs.default.routes[' >> 1.2.3.4/30'].hardwareProgrammed >> <http://1.2.3.4/30'%5D.hardwareProgrammed> >> >> The issue is the same with double quotes around the IP address. >> >> >> >> >> On Tuesday, March 22, 2016 at 2:50:05 PM UTC+1, Uditha Desilva wrote: >>> >>> It may need more protection for those quotes -- perhaps this? >>> >>> - "result[0].vrfs.default.routes[\'{{ route }}\'].hardwareProgrammed >>> eq true" >>> >>>> >>>>>> -- >> 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 post to this group, send email to ansible-project@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/7f5a3e93-84cc-43c7-b11f-50ccb849971a%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/7f5a3e93-84cc-43c7-b11f-50ccb849971a%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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEkdrMi%2BY8sJjFmWF%3DosrHAkCCRwOB0s9ex%3D2qwyg9A52-odBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.