Formatting (#19353)
This commit is contained in:
parent
d5324c11a0
commit
739a310382
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@ Inventory scripts allow you to store your hosts, groups, and variables in any wa
|
||||||
you like. Examples include discovering inventory from EC2 or pulling it from
|
you like. Examples include discovering inventory from EC2 or pulling it from
|
||||||
Cobbler. These could also be used to interface with LDAP or database.
|
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
|
`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
|
||||||
with -i to designate the path to the script. You might also need to copy a configuration
|
|
||||||
file with the same name and/or set environment variables, the scripts or configuration
|
file with the same name and/or set environment variables, the scripts or configuration
|
||||||
files have more details.
|
files have more details.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue