On 21. aug. 2017 20:00, Stiv Ostenberg wrote:
Having a devil of a time writing my first plugin.

Ansible have a mailing list dedicated to development, you might have better luck there.


First off, to make life more interesting,  the plugin is one that is needed
for a role.  I am trying to write an ansible cookbook to deploy Filebeat.

That's Chef, in Ansible we do play as in playbook.


The problems I am currently struggling with are these:

Where does the plugin go within the role folder hierarchy,  or does it need
to be global?  I have found various contradictory sources that state it
goes in "plugins/lookup"  or "lookup_plugins",or  in Ansible root.

Instead of looking around why not just go to _the source_, the Ansible docmentation?
https://docs.ansible.com/ansible/latest/dev_guide/developing_plugins.html
https://docs.ansible.com/ansible/latest/dev_guide/developing_plugins.html#distributing-plugins


--
Kai Stian Olstad

--
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/5326c496-717d-0655-e3cd-818be4533e39%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to