Fixup inventory docs
This commit is contained in:
parent
dd91452eda
commit
f4dddfdbab
1 changed files with 5 additions and 13 deletions
|
@ -48,6 +48,11 @@ Adding a lot of hosts? In 0.6 and later, if you have a lot of hosts following s
|
|||
|
||||
[webservers]
|
||||
www[01:50].example.com
|
||||
|
||||
|
||||
In 1.0 and later, you can also do this for alphabetic ranges::
|
||||
|
||||
[databases]
|
||||
db-[a:f].example.com
|
||||
|
||||
For numeric patterns, leading zeros can be included or removed, as desired. Ranges are inclusive.
|
||||
|
@ -197,19 +202,6 @@ is an excellent way to track changes to your inventory and host variables.
|
|||
variable called 'ansible_python_interpreter' to the Python
|
||||
interpreter path you would like to use.
|
||||
|
||||
YAML Inventory
|
||||
++++++++++++++
|
||||
|
||||
.. deprecated:: 0.7
|
||||
|
||||
Ansible's YAML inventory format is deprecated and will be removed in
|
||||
Ansible 0.7. Ansible 0.6 includes a `conversion script
|
||||
<https://github.com/ansible/ansible/blob/devel/examples/scripts/yaml_to_ini.py>`_.
|
||||
|
||||
Usage::
|
||||
|
||||
yaml_to_ini.py /etc/ansible/hosts
|
||||
|
||||
.. seealso::
|
||||
|
||||
:doc:`examples`
|
||||
|
|
Loading…
Reference in a new issue