Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 757 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 757 Bytes

inventory

Codacy Badge Build Status

Build inventories of computers that can be grouped. Mainly for use with awx/ansible dynamic inventory.

What the json should look like for ansible:

{
  "_meta": {
    "hostvars": {
        "host1": {
            "var2": "val2"
        }
    }
  },
  
  "group1": {
    "hosts": [
      "host1"
    ],
    
    "vars": {
        "var1": "val1"
    }
  }
}