summaryrefslogtreecommitdiff
path: root/docs/docsite/rst/intro_inventory.rst
diff options
context:
space:
mode:
authorPilou <pierre-louis@libregerbil.fr>2017-03-05 10:24:41 +0100
committerscottb <dharmabumstead@users.noreply.github.com>2017-03-05 01:24:41 -0800
commitaddedb12cf6e95483b8cc92190dce369da47ecae (patch)
treea8d180d7c35eedaa5afe0e61aa066736aede775b /docs/docsite/rst/intro_inventory.rst
parent0775d39a87f066d7de9687eb059b911e6dd5cee6 (diff)
downloadansible-addedb12cf6e95483b8cc92190dce369da47ecae.tar.gz
Inventory default groups 'all' and 'ungrouped': add tests and documentation (#21728)
* inventory: test 'all' & 'ungrouped' groups created by default * Mention default groups 'all' & 'ungrouped' * Update intro_inventory.rst Minor grammatical edit.
Diffstat (limited to 'docs/docsite/rst/intro_inventory.rst')
-rw-r--r--docs/docsite/rst/intro_inventory.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/docsite/rst/intro_inventory.rst b/docs/docsite/rst/intro_inventory.rst
index 88ed1e4b3a..cf3b103f91 100644
--- a/docs/docsite/rst/intro_inventory.rst
+++ b/docs/docsite/rst/intro_inventory.rst
@@ -141,6 +141,15 @@ It is also possible to make groups of groups using the ``:children`` suffix. Jus
If you need to store lists or hash data, or prefer to keep host and group specific variables
separate from the inventory file, see the next section.
+.. _default_groups:
+
+Default groups
+++++++++++++++
+
+There are two default groups: ``all`` and ``ungrouped``. ``all`` contains every host.
+``ungrouped`` contains all hosts declared without an explicit section, even if they belong to
+another group.
+
.. _splitting_out_vars:
Splitting Out Host and Group Specific Data