What are the default groups `all` and `ungrouped`?
BeginnerConceptInventory
Answer
all contains every host in the inventory. ungrouped contains every host that is not a member of any other group. Every host is always in all and in at least one more group, so a host with no groups ends up in ungrouped.
Variables in group_vars/all.yml apply to every host and are the lowest-priority inventory group level.
More on Inventory
What is an inventory and why does Ansible need one?BeginnerWhat are the INI and YAML inventory formats and how do they differ?BeginnerHow do you create groups of groups?BeginnerExplain host patterns: `:`, `:&`, `:!` and wildcards.IntermediateWhich connection variables can you set per host in inventory?BeginnerWhat are `group_vars` and `host_vars` directories?Intermediate