constant

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 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"
	DataDir                 = path.Join(BaseDir, "data")
	CacheDir                = path.Join(DataDir, "cache")
	KeyDir                  = path.Join(DataDir, "key")
	WorkDir                 = path.Join(BaseDir, "work")
	ProjectDir              = path.Join(DataDir, "project")
	AnsibleConfDir          = path.Join("/", "etc", "ansible")
	AnsibleTemplateFilePath = path.Join("/", "etc", "kobe", "ansible.cfg.tmpl")
	AnsibleConfPath         = path.Join(AnsibleConfDir, "ansible.cfg")
)

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