Specify numeric range can contain a stride (#68952)

Updated the range creation example to show that you can also specify a stride value when creating a hostname by numeric range.
pull/70100/head
Allen 6 years ago committed by GitHub
parent c2eb1eadb2
commit fb9740db4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -170,6 +170,24 @@ In YAML:
hosts:
www[01:50].example.com:
You can specify a stride (increments between sequence numbers) when defining a numeric range of hosts:
In INI:
.. code-block:: text
[webservers]
www[01:50:2].example.com
In YAML:
.. code-block:: yaml
...
webservers:
hosts:
www[01:50:2].example.com:
For numeric patterns, leading zeros can be included or removed, as desired. Ranges are inclusive. You can also define alphabetic ranges:
.. code-block:: text

Loading…
Cancel
Save