Added comments in the example yaml file as requested

pull/585/head
Dag Wieërs 13 years ago
parent 7f9718f185
commit 649963ca2c

@ -1,5 +1,7 @@
--- ---
# Below is the original way of defining hosts and groups.
- jupiter - jupiter
- host: saturn - host: saturn
vars: vars:
@ -38,6 +40,12 @@
hosts: hosts:
- saturn - saturn
# Here we demonstrate that groups can be defined on a per-host basis.
# When managing a large set of systems this format makes it easier to
# ensure each of the systems is defined in a set of groups, compared
# to the standard group definitions, where a host may need to be added
# to multiple disconnected groups.
- host: garfield - host: garfield
groups: [ comic, cat, orange ] groups: [ comic, cat, orange ]
vars: vars:

Loading…
Cancel
Save