From f4dddfdbabf17c37ff26beb3294d722205b9cda0 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 2 Feb 2013 12:43:05 -0500 Subject: [PATCH] Fixup inventory docs --- docsite/rst/patterns.rst | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/docsite/rst/patterns.rst b/docsite/rst/patterns.rst index 0beed4adc0..98f9ef8532 100644 --- a/docsite/rst/patterns.rst +++ b/docsite/rst/patterns.rst @@ -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 -`_. - -Usage:: - - yaml_to_ini.py /etc/ansible/hosts - .. seealso:: :doc:`examples`