constant

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InventoryProviderBinPath = "kobe-inventory"
	AnsiblePlaybookBinPath   = "ansible-playbook"
	AnsibleBinPath           = "ansible"
	TaskEnvKey               = "KO_TASK_ID"
	AnsibleVariablesName     = "variables.yml"
)

Variables

View Source
var (
	BaseDir                 = "/var/kobe"
	LibDir                  = path.Join(BaseDir, "lib")
	DataDir                 = path.Join(BaseDir, "data")
	CacheDir                = path.Join(DataDir, "cache")
	KeyDir                  = path.Join(DataDir, "key")
	WorkDir                 = path.Join(BaseDir, "work")
	AnsibleLibDir           = path.Join(LibDir, "ansible")
	ProjectDir              = path.Join(DataDir, "project")
	AnsiblePluginDir        = path.Join(AnsibleLibDir, "plugins")
	AnsibleTemplateFilePath = path.Join(AnsibleLibDir, "ansible.cfg.tmpl")
)

Functions

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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