Hello guys,
As a part of my project, I've written a lookup module and put it into
lookup_plugins directory in the root of it:
project/lookup_plugins/mylookup
i am calling this module as:
- name: test
debug:
msg: "the next soa serial for zone: {{ item }} is
{{ lookup ('mylookup' ,item) }}"
loop:
- test1
- test2
but ansible raises an error:
fatal: [localhost]: FAILED! => {"msg": "lookup plugin (mylookup) not found"}
citing the official documentation:
"You can activate a custom lookup by either dropping it into a
lookup_plugins directory adjacent to your play".
--
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/CAMB-ck405M08M1SDiKRz6jDQTPSXjSefnWbP6w0OaGJBp10_Cw%40mail.gmail.com.