ansible

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	Hosts     map[string]Host        `yaml:"hosts,omitempty"`
	Variables map[string]interface{} `yaml:"vars,omitempty"`
}

type Host

type Host struct {
	Variables map[string]interface{} `yaml:"host_var,omitempty"`
}

type Hosts

type Hosts struct {
}

type Inventory

type Inventory struct {
	Groups map[string]Group `yaml:",inline"`
}

type Playbook

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

type Role struct {
	Name  string `yaml:"name"`
	Tasks []Task `yaml:"tasks,omitempty"`
}

type Task

type Task struct {
	Name   string                 `yaml:"name"`
	Config map[string]interface{} `yaml:",inline"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL