Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnsibleCommand `ansible` command AnsibleCommand = "ansible" // AnsibleInventoryCommand `ansible-inventory` command AnsibleInventoryCommand = "ansible-inventory" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InventoryList ¶
InventoryList Basic `ansible-inventory` JSON output structure
func (*InventoryList) GetHostsForGroup ¶
func (inv *InventoryList) GetHostsForGroup(group string) []string
GetHostsForGroup return resolved list of hosts for a given group name
Click to show internal directories.
Click to hide internal directories.