Mike, I think, I have similar issue.
Mine local lookup plugins from playbook_dir/lookup_plugins are loaded and executed fine, but the same manner implemented action plugins are not loaded from file like playbook_dir/action_plugins/action.py Is there additional magic linked to library too ? Is there way I can distribute local action plugin with playbook? On Friday, 15 April 2016 16:46:22 UTC+3, Mike Biancaniello wrote: > > Action plugins need to be in the action_plugins/ dir (can be either a > subdir of the playbook_dir or of a role that you include), however, ansible > won't recognize the plugin uless you also have a file of the same name in > the library/ dir. All you **need** to do is 'touch' the library file, but > you should at least use this to store the module documentation. Remember, > though, that action_plugins are executed on ***localhost***, so > action_plugin is often used for local preprocessing before calling the > module to do the remote work. > > All of that being said, why can't you just pass the module the args that > you need? > -- 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/26b1b2dd-c08f-4850-918c-8316127c29bb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
