|
|
@ -8,14 +8,14 @@
|
|
|
|
# - You can enter hostnames or ip addresses
|
|
|
|
# - You can enter hostnames or ip addresses
|
|
|
|
# - A hostname/ip can be a member of multiple groups
|
|
|
|
# - A hostname/ip can be a member of multiple groups
|
|
|
|
|
|
|
|
|
|
|
|
# Ex 1: Ungrouped hosts, specify before any group headers.
|
|
|
|
# Ex 1: Ungrouped hosts, specify before any group headers:
|
|
|
|
|
|
|
|
|
|
|
|
## green.example.com
|
|
|
|
## green.example.com
|
|
|
|
## blue.example.com
|
|
|
|
## blue.example.com
|
|
|
|
## 192.168.100.1
|
|
|
|
## 192.168.100.1
|
|
|
|
## 192.168.100.10
|
|
|
|
## 192.168.100.10
|
|
|
|
|
|
|
|
|
|
|
|
# Ex 2: A collection of hosts belonging to the 'webservers' group
|
|
|
|
# Ex 2: A collection of hosts belonging to the 'webservers' group:
|
|
|
|
|
|
|
|
|
|
|
|
## [webservers]
|
|
|
|
## [webservers]
|
|
|
|
## alpha.example.org
|
|
|
|
## alpha.example.org
|
|
|
@ -23,12 +23,12 @@
|
|
|
|
## 192.168.1.100
|
|
|
|
## 192.168.1.100
|
|
|
|
## 192.168.1.110
|
|
|
|
## 192.168.1.110
|
|
|
|
|
|
|
|
|
|
|
|
# If you have multiple hosts following a pattern you can specify
|
|
|
|
# If you have multiple hosts following a pattern, you can specify
|
|
|
|
# them like this:
|
|
|
|
# them like this:
|
|
|
|
|
|
|
|
|
|
|
|
## www[001:006].example.com
|
|
|
|
## www[001:006].example.com
|
|
|
|
|
|
|
|
|
|
|
|
# Ex 3: A collection of database servers in the 'dbservers' group
|
|
|
|
# Ex 3: A collection of database servers in the 'dbservers' group:
|
|
|
|
|
|
|
|
|
|
|
|
## [dbservers]
|
|
|
|
## [dbservers]
|
|
|
|
##
|
|
|
|
##
|
|
|
|