Commit Graph

6 Commits (111561f7829b517fb0b7577a0e2147292bdba58f)

Author SHA1 Message Date
Jeroen Hoekx b7cb00073b Correctly add ungrouped hosts to 'ungrouped' in YAML inventory. 13 years ago
Jeroen Hoekx 3b40158961 Inventory: support list of vars in host. 13 years ago
Jeroen Hoekx b87710a1df Introduce group_names in template variables.
This is a list of all the groups a host is in.
13 years ago
Jeroen Hoekx 903e4f6eae Support dicts in inventory vars. 13 years ago
Jeroen Hoekx 961ccdb2f4 List hosts in no group in the ungrouped group. 13 years ago
Jeroen Hoekx 3a24aa9a70 Add YAML inventory format.
See test/yaml_hosts for an example.

Hosts can be part of multiple groups.

Groups can also have variables, inherited by the hosts.
There is no variable scope, last variable seen wins.
13 years ago