ansible/plugins
Dag Wieers bb58d3f20c Example plugin to send out mails on error
This is useful mostly for playbooks that run unattended and for a limited set of systems. In case of provisioninging this plugin (together with a final mail action) helps to get notified when something went wrong, or when the installation finished successfully.

Unfortunately, there is no way to enable/disable a plugin from a playbook. So installing the plugin means all other use-cases (provisioning, troubleshooting, reporting or management) all send mails on failure. Something we may want to fix in the future...
2012-10-10 17:28:00 +02:00
..
callbacks Example plugin to send out mails on error 2012-10-10 17:28:00 +02:00
connections Merge plugins tree 2012-10-08 07:45:25 -04:00
inventory Merge pull request #1270 from jhoekx/yaml-inventory-plugin 2012-10-10 05:33:33 -07:00
README.md Update README 2012-10-08 08:04:21 -04:00

ansible-plugins

You can extend ansible with optional callback and connection plugins.

callbacks

Callbacks can be used to add logging or monitoring capability, or just make interesting sound effects.

Drop callback plugins in your ansible/lib/callback_plugins/ directory.

connections

Connection plugins allow ansible to talk over different protocols.

Drop connection plugins in your ansible/lib/runner/connection_plugins/ directory.

inventory

Inventory plugins allow you to store your hosts, groups, and variables in any way you like. Examples include discovering inventory from EC2 or pulling it from Cobbler. These could also be used to interface with LDAP or database.

chmod +x an inventory plugin and either name it /etc/ansible/hosts or use ansible with -i to designate the path to the plugin.

contributions welcome

Send in pull requests to add plugins of your own. The sky is the limit!