Added comments in the example yaml file as requested

This commit is contained in:
Dag Wieërs 2012-07-12 23:01:00 +02:00
parent 7f9718f185
commit 649963ca2c

View file

@ -1,5 +1,7 @@
---
# Below is the original way of defining hosts and groups.
- jupiter
- host: saturn
vars:
@ -38,6 +40,12 @@
hosts:
- 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
groups: [ comic, cat, orange ]
vars: