From 9010f0fbe3e25480f8cd18a98cc0868a6df2ab06 Mon Sep 17 00:00:00 2001 From: rawtaz Date: Thu, 26 May 2022 19:40:50 +0200 Subject: [PATCH] doc: Clarify stride/increment in inventory intro (#77893) --- docs/docsite/rst/user_guide/intro_inventory.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docsite/rst/user_guide/intro_inventory.rst b/docs/docsite/rst/user_guide/intro_inventory.rst index fc46d9c2ee5..de96c4a40e5 100644 --- a/docs/docsite/rst/user_guide/intro_inventory.rst +++ b/docs/docsite/rst/user_guide/intro_inventory.rst @@ -188,6 +188,8 @@ In YAML: hosts: www[01:50:2].example.com: +The example above would make the subdomains www01, www03, www05, ..., www49 match, but not www00, www02, www50 and so on, because the stride (increment) is 2 units each step. + For numeric patterns, leading zeros can be included or removed, as desired. Ranges are inclusive. You can also define alphabetic ranges: .. code-block:: text