1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixup inventory docs

This commit is contained in:
Michael DeHaan 2013-02-02 12:43:05 -05:00
parent dd91452eda
commit f4dddfdbab

View file

@ -48,6 +48,11 @@ Adding a lot of hosts? In 0.6 and later, if you have a lot of hosts following s
[webservers] [webservers]
www[01:50].example.com www[01:50].example.com
In 1.0 and later, you can also do this for alphabetic ranges::
[databases]
db-[a:f].example.com db-[a:f].example.com
For numeric patterns, leading zeros can be included or removed, as desired. Ranges are inclusive. 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 variable called 'ansible_python_interpreter' to the Python
interpreter path you would like to use. 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:: .. seealso::
:doc:`examples` :doc:`examples`