Commit f4dddfdb by Michael DeHaan

Fixup inventory docs

parent dd91452e
...@@ -48,6 +48,11 @@ Adding a lot of hosts? In 0.6 and later, if you have a lot of hosts following s ...@@ -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. ...@@ -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`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment