package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Oct 13, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Group struct {
Hosts map[string]Host `yaml:"hosts,omitempty"`
Variables map[string]interface{} `yaml:"vars,omitempty"`
}
type Host struct {
Variables map[string]interface{} `yaml:"host_var,omitempty"`
}
type Inventory struct {
Groups map[string]Group `yaml:",inline"`
}
type Playbook struct {
Name string `yaml:"name"`
Hosts string `yaml:"hosts,omitempty"`
RemoteUser string `yaml:"remote_user,omitempty"`
Vars map[string]interface{} `yaml:"vars,omitempty"`
Tasks []Task `yaml:"tasks"`
Roles []Role `yaml:"roles,omitempty"`
Become bool `yaml:"become"`
}
type Role struct {
Name string `yaml:"name"`
Tasks []Task `yaml:"tasks,omitempty"`
}
type Task struct {
Name string `yaml:"name"`
Config map[string]interface{} `yaml:",inline"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.