2012-08-19 04:42:28 +02:00
|
|
|
ansible-plugins
|
|
|
|
===============
|
|
|
|
|
2012-08-19 04:45:48 +02:00
|
|
|
Extend ansible with optional callback and connection plugins.
|
|
|
|
|
2012-08-21 01:46:45 +02:00
|
|
|
callbacks
|
|
|
|
=========
|
|
|
|
|
|
|
|
Callbacks can be used to add logging or monitoring capability, or just make
|
|
|
|
interesting sound effects.
|
|
|
|
|
2012-08-22 02:37:42 +02:00
|
|
|
Drop callback plugins in your ansible/lib/callback_plugins/ directory.
|
2012-08-19 04:45:48 +02:00
|
|
|
|
2012-08-21 01:46:45 +02:00
|
|
|
connections
|
|
|
|
===========
|
|
|
|
|
|
|
|
Connection plugins allow ansible to talk over different protocols.
|
|
|
|
|
2012-08-22 02:37:42 +02:00
|
|
|
Drop connection plugins in your ansible/lib/runner/connection_plugins/ directory.
|
2012-08-19 04:45:48 +02:00
|
|
|
|
2012-08-21 01:46:45 +02:00
|
|
|
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
|
|
|
|
=====================
|
|
|
|
|
2012-08-19 04:45:48 +02:00
|
|
|
Send in pull requests to add plugins of your own. The sky is the limit!
|
|
|
|
|