diff options
author | Pilou <pierre-louis@libregerbil.fr> | 2017-03-05 10:24:41 +0100 |
---|---|---|
committer | scottb <dharmabumstead@users.noreply.github.com> | 2017-03-05 01:24:41 -0800 |
commit | addedb12cf6e95483b8cc92190dce369da47ecae (patch) | |
tree | a8d180d7c35eedaa5afe0e61aa066736aede775b /docs | |
parent | 0775d39a87f066d7de9687eb059b911e6dd5cee6 (diff) | |
download | ansible-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')
-rw-r--r-- | docs/docsite/rst/intro_inventory.rst | 9 |
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 |