Return multiple groups from inventory API.

This commit is contained in:
Jeroen Hoekx 2012-10-10 18:35:45 +02:00
parent 30c019447b
commit 23a62f5a78
3 changed files with 18 additions and 3 deletions

View file

@ -15,13 +15,15 @@ options, args = parser.parse_args()
systems = {
"ungrouped": [ "jupiter", "saturn" ],
"greek": [ "zeus", "hera", "poseidon" ],
"norse": [ "thor", "odin", "loki" ]
"norse": [ "thor", "odin", "loki" ],
"major-god": [ "zeus", "odin" ],
}
variables = {
"thor": {
"hammer": True
}
},
"zeus": {},
}
if options.list_hosts == True: