From 46fea9212513f04ae0d47677f63bfbb4baa3c25e Mon Sep 17 00:00:00 2001 From: Douglas Thor Date: Mon, 4 May 2020 14:09:44 -0700 Subject: [PATCH] Add note in inventory guide saying group names follow variable name guidelines. (#69285) --- docs/docsite/rst/user_guide/intro_inventory.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docsite/rst/user_guide/intro_inventory.rst b/docs/docsite/rst/user_guide/intro_inventory.rst index 05e89ee29b4..f0bdf1291ef 100644 --- a/docs/docsite/rst/user_guide/intro_inventory.rst +++ b/docs/docsite/rst/user_guide/intro_inventory.rst @@ -36,6 +36,7 @@ The most common formats are INI and YAML. A basic INI ``/etc/ansible/hosts`` mig The headings in brackets are group names, which are used in classifying hosts and deciding what hosts you are controlling at what times and for what purpose. +Group names should follow the same guidelines as :ref:`valid_variable_names`. Here's that same basic inventory file in YAML format: