I am trying to write a ansible action plugin. The reason i am doing this 
is, I want to access my variables available in playbook (modules can only 
deal with args as far i understand, please correct me if i am wrong )

Now writing this plugin, what is the directory structure i should have? i 
tried  (action_plugins/, library/, tests/ ) , library/action_plugins, 
tests/ ) they don't work.
The moment i start using the 2nd dir structure all the imports fail, first 
one does not work at all. 

I found a few examples, like 
this 
http://jpmens.net/2012/11/03/an-action-plugin-for-ansible-to-handle-ssh-host-keys/
But does not discuss about the dir structure. 

I am planning to use this plugin by putting this into requirements.yml and 
installing it in the playbook. Can any one suggest what i am doing wrong. 
(Ansible versions 1.9, i cannot really upgrade it.)

-- 
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/9e0ac5f5-ad7c-425a-a5a2-4dff508f552d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to