mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
5d0805b25a
* Add Nagios livestatus inventory plugin. * Add new capabilities for the nagios_livestatus inventory: - host_field: set the name returned (default: 'name') - group_field: set the field used for group (default: 'groups') - host_filter: filter host using this filter (default: None) To be more consistent, prefix was renamed into var_prefix. * Fix py34 runtests errors against print call. |
||
---|---|---|
.. | ||
inventory | ||
vault | ||
README.md |
inventory
Inventory scripts 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 -i /path/to/inventory/script
. You might also need to copy a configuration
file with the same name and/or set environment variables, the scripts or configuration
files have more details.
contributions welcome
Send in pull requests to add plugins of your own. The sky is the limit!