Hard to say what you error is without seeing the plugin. Perhaps you could paste it?
On Wed, Aug 27, 2014 at 3:44 PM, Xu Chen <[email protected]> wrote: > Yes, I wrote some additional plugins and put them in > ansible/lib/runner/filter_plugins/core.py > > Thanks. > > > On Wednesday, August 27, 2014 3:03:28 PM UTC-4, Michael DeHaan wrote: > >> I assume filter_x and filter_y are plugins you wrote? >> >> >> >> >> On Wed, Aug 27, 2014 at 12:01 PM, Xu Chen <[email protected]> wrote: >> >>> I have difficulty using jinja2 combined with cron module in the >>> following way: >>> >>> - cron: name=test job="abc {{ data | filter_x('a') | filter_y('b') }} >>> edf" >>> >>> I tried various combinations, but either the jinja2 template isn't >>> expanded, or I am seeing errors parsing. >>> >>> Any ideas how to make something like this work? Thanks. >>> >>> -- >>> 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/e90cdfa3-8681-4436-b0ef- >>> 45eeb5a6c4eb%40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/e90cdfa3-8681-4436-b0ef-45eeb5a6c4eb%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/1c7cb099-0714-4320-b324-fb246e632aa3%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/1c7cb099-0714-4320-b324-fb246e632aa3%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%2BnsWgwu3VBxnCEhN_zAtZhuwq8%2BxnVNDBo62j9VDmYqmjLCHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
