add info about the 'all' group to README.md

This commit is contained in:
Michael DeHaan 2012-03-02 23:02:17 -05:00
parent cbfabcd0fb
commit 1c2d31ef85

View file

@ -56,7 +56,7 @@ Patterns and Groups
=================== ===================
Ansible works off an inventory file (/etc/ansible/hosts or overrideable with -i). Hosts can Ansible works off an inventory file (/etc/ansible/hosts or overrideable with -i). Hosts can
be listed by IP or hostname, and groups are supported with square brackets: be listed by IP or hostname, and groups are denoted with square brackets:
Example: Example:
@ -70,13 +70,15 @@ Example:
[raleigh] [raleigh]
192.168.10.52 192.168.10.52
When running ansible commands, specific hosts are addressed by wildcard or group name. When running ansible commands, hosts are addressed by name, wildcard, or group name.
This is required for all ansible commands. This specifier is used in all ansible commands. 'all' is a built-in group name that matches all
hosts. Group names and host wildcards can be mixed as needed:
'*.example.com' all
'web*.example.com'
'appservers;dbservers'
'atlanta;raleigh' 'atlanta;raleigh'
'database*;appserver*' '192.168.10.50'
'192.168.10.50;192.168.10.52'
Example: Massive Parallelism and Running Shell Commands Example: Massive Parallelism and Running Shell Commands
======================================================= =======================================================