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.
This commit is contained in:
Pilou
2017-03-05 10:24:41 +01:00
committed by scottb
parent 0775d39a87
commit addedb12cf
2 changed files with 67 additions and 2 deletions

View File

@@ -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