add info about the 'all' group to README.md
This commit is contained in:
parent
cbfabcd0fb
commit
1c2d31ef85
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -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
|
||||||
=======================================================
|
=======================================================
|
||||||
|
|
Loading…
Reference in a new issue