mirror of https://github.com/ansible/ansible.git
migration final cleanup
parent
c788ee69d9
commit
e0e57b4beb
@ -1,26 +0,0 @@
|
|||||||
contrib
|
|
||||||
-------
|
|
||||||
Files here provide an extension mechanism for Ansible similar to plugins. They are not maintained by the Ansible core team or installed with Ansible.
|
|
||||||
|
|
||||||
|
|
||||||
inventory
|
|
||||||
=========
|
|
||||||
|
|
||||||
Before 2.4 introduced inventory plugins, inventory scripts were the only way to provide sources that were not built into Ansible. Inventory scripts allow you to store your hosts, groups, and variables in any way you like.
|
|
||||||
|
|
||||||
Starting with Ansible version 2.4, they are enabled via the 'script' inventory plugin.
|
|
||||||
Examples of use include discovering inventory from EC2 or pulling it from Cobbler. These could also be used to interface with LDAP or the 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 can provide more details.
|
|
||||||
|
|
||||||
vault
|
|
||||||
=====
|
|
||||||
|
|
||||||
If the file passed to `--vault-password-file` has the executable bit set, Ansible will execute it and use the stdout of that execution as 'the secret'.
|
|
||||||
Vault scripts provided here use this facility to retrieve the vault secret from a number of sources.
|
|
||||||
|
|
||||||
contributions welcome
|
|
||||||
=====================
|
|
||||||
|
|
||||||
We are only accepting bugfixes for inventory scripts. If you want to add features or a new inventory type, target [inventory plugins](https://docs.ansible.com/ansible/latest/dev_guide/developing_inventory.html#inventory-plugins).
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue