ansible

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadRoleDir

func ReadRoleDir(dir fs.FS, path string, roles map[string]Role) error

Types

type Dependency

type Dependency struct {
	Role string `yaml:"role"`
}

type Playbook

type Playbook struct {
	Name       string           `yaml:"name"`
	Hosts      string           `yaml:"hosts"`
	Connection string           `yaml:"connection"`
	Vars       map[string]any   `yaml:"vars"`
	Tasks      []map[string]any `yaml:"tasks"`
}

type Role

type Role struct {
	Id           string
	Name         string            `yaml:"name"`
	Dependencies []Dependency      `yaml:"dependencies"`
	Vars         map[string]string `yaml:"vars"`
	Tasks        []map[string]any  `yaml:"tasks"`
}

type SecurityGroupRule

type SecurityGroupRule struct {
	Proto    string `yaml:"proto" json:"proto"`
	FromPort string `yaml:"from_port" json:"from_port"`
	ToPort   string `yaml:"to_port" json:"to_port"`
	Group    string `yaml:"group_name" json:"group_name"`
}

type Tasks

type Tasks map[string]any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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