ansibleterraform

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnsibleBaseDir      = "app/ansible"
	AnsiblePlaybooksDir = "app/ansible/playbooks"
	TfLiveBaseDir       = "iaas/terraform/live"
	TfModuleBaseDir     = "iaas/terraform/modules"
	EnvDir              = "env"
	AnsibleInventoryDir = "app/ansible/inventory"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSLocalsTf

type AWSLocalsTf struct {
	input.Input
	AppName string
}

func (*AWSLocalsTf) GetInput

func (t *AWSLocalsTf) GetInput() (input.Input, error)

type AWSMainTf

type AWSMainTf struct {
	input.Input
	EnvName                           string
	AppName                           string
	TFModuleVaultApproleSource        string
	TFModuleCloudInitSource           string
	TFModuleEc2InstanceSource         string
	TFModuleSecurityGroupSource       string
	TFModuleNetworkLoadBalancerSource string
	TFModuleRoute53ZoneSource         string
}

func (*AWSMainTf) GetInput

func (t *AWSMainTf) GetInput() (input.Input, error)

type AWSOutputsTf

type AWSOutputsTf struct {
	input.Input
	AppName string
}

func (*AWSOutputsTf) GetInput

func (t *AWSOutputsTf) GetInput() (input.Input, error)

type AWSUserdataSh

type AWSUserdataSh struct {
	input.Input
	AppName string
}

func (*AWSUserdataSh) GetInput

func (t *AWSUserdataSh) GetInput() (input.Input, error)

type AWSVariablesTf

type AWSVariablesTf struct {
	input.Input
	EnvName string
	AppName string
}

func (*AWSVariablesTf) GetInput

func (t *AWSVariablesTf) GetInput() (input.Input, error)

type AnsibleCfg

type AnsibleCfg struct {
	input.Input
}

func (*AnsibleCfg) GetInput

func (t *AnsibleCfg) GetInput() (input.Input, error)

type AnsibleInventoryGroupVarsYml

type AnsibleInventoryGroupVarsYml struct {
	input.Input
	EnvName string
	AppName string
	DCName  string
}

func (*AnsibleInventoryGroupVarsYml) GetInput

func (t *AnsibleInventoryGroupVarsYml) GetInput() (input.Input, error)

type AnsibleRole added in v0.2.2

type AnsibleRole struct {
	Src     string
	Name    string
	Version string
}

type ApplicationYml added in v0.2.2

type ApplicationYml struct {
	input.Input
	AppName      string
	AnsibleRoles []AnsibleRole
}

func (*ApplicationYml) GetInput added in v0.2.2

func (t *ApplicationYml) GetInput() (input.Input, error)

type AwsAnsileInventory

type AwsAnsileInventory struct {
	input.Input
	AppName string
}

func (*AwsAnsileInventory) GetInput

func (t *AwsAnsileInventory) GetInput() (input.Input, error)

type EnvAwsSh added in v0.2.1

type EnvAwsSh struct {
	input.Input
	EnvName             string
	AppName             string
	DCName              string
	AWSRegion           string
	VaultAddr           string
	VaultSSHCa          string
	VaultSSHRole        string
	SSHUser             string
	TfLiveBaseDir       string
	AnsibleInventoryDir string
}

func (*EnvAwsSh) GetInput added in v0.2.1

func (t *EnvAwsSh) GetInput() (input.Input, error)

type EnvVmwareSh added in v0.2.1

type EnvVmwareSh struct {
	input.Input
	EnvName             string
	AppName             string
	DCName              string
	VsphereServer       string
	AWSRegion           string
	VaultAddr           string
	VaultSSHCa          string
	VaultSSHRole        string
	SSHUser             string
	TfLiveBaseDir       string
	AnsibleInventoryDir string
}

func (*EnvVmwareSh) GetInput added in v0.2.1

func (t *EnvVmwareSh) GetInput() (input.Input, error)

type Makefile

type Makefile struct {
	input.Input

	AppName string
}

func (*Makefile) GetInput

func (r *Makefile) GetInput() (input.Input, error)

type OSYml

type OSYml struct {
	input.Input
	AnsibleRoles []AnsibleRole
}

func (*OSYml) GetInput

func (t *OSYml) GetInput() (input.Input, error)

type ReadmeMd

type ReadmeMd struct {
	input.Input
}

func (*ReadmeMd) GetInput

func (t *ReadmeMd) GetInput() (input.Input, error)

type RequirementsTxt added in v0.2.1

type RequirementsTxt struct {
	input.Input
	AnsibleVersion string
}

func (*RequirementsTxt) GetInput added in v0.2.1

func (t *RequirementsTxt) GetInput() (input.Input, error)

type RequirementsYml

type RequirementsYml struct {
	input.Input
	AppRoles []AnsibleRole
	OSRoles  []AnsibleRole
}

func (*RequirementsYml) GetInput

func (t *RequirementsYml) GetInput() (input.Input, error)

type SiteYml

type SiteYml struct {
	input.Input
}

func (*SiteYml) GetInput

func (t *SiteYml) GetInput() (input.Input, error)

type TerragruntAwsHcl

type TerragruntAwsHcl struct {
	input.Input
	EnvName string
	AppName string
	DCName  string
}

func (*TerragruntAwsHcl) GetInput

func (t *TerragruntAwsHcl) GetInput() (input.Input, error)

type TerragruntAwsVars

type TerragruntAwsVars struct {
	input.Input
	EnvName        string
	AppName        string
	DCName         string
	AWSRegion      string
	VaultAddr      string
	VaultSshCAPath string
	AwsAccountID   string   `yaml:"aws_account_id,omitempty"`
	AmiID          string   `yaml:"ami_id,omitempty"`
	VpcID          string   `yaml:"vpc_id,omitempty"`
	KeyName        string   `yaml:"key_name,omitempty"`
	SGAttachments  []string `yaml:"sg_attachments,omitempty"`
	LBSubnetIDs    []string `yaml:"lb_subnet_ids,omitempty"`
	NodesSubnetIDs []string `yaml:"nodes_subnet_ids,omitempty"`
	DNSDomain      string   `yaml:"dns_domain,omitempty"`
	DNSZoneID      string   `yaml:"dns_zone_id,omitempty"`
}

func (*TerragruntAwsVars) GetInput

func (t *TerragruntAwsVars) GetInput() (input.Input, error)

type TerragruntBaseHcl

type TerragruntBaseHcl struct {
	input.Input
	EnvName        string
	DCName         string
	S3BucketName   string
	S3BucketRegion string
	S3KeyPrefix    string
}

func (*TerragruntBaseHcl) GetInput

func (t *TerragruntBaseHcl) GetInput() (input.Input, error)

type TerragruntVMwareHcl

type TerragruntVMwareHcl struct {
	input.Input
	EnvName string
	AppName string
	DCName  string
}

func (*TerragruntVMwareHcl) GetInput

func (t *TerragruntVMwareHcl) GetInput() (input.Input, error)

type TerragruntVMwareVars

type TerragruntVMwareVars struct {
	input.Input
	EnvName                string
	AppName                string
	DCName                 string
	VaultAddr              string
	VaultSshCAPath         string
	VsphereDCName          string              `yaml:"vsphere_dc_name,omitempty"`
	VsphereClusterName     string              `yaml:"vsphere_cluster_name,omitempty"`
	VsphereFolder          string              `yaml:"vsphere_folder,omitempty"`
	VsphereIpv4Gateway     string              `yaml:"vsphere_ipv4_gateway,omitempty"`
	VsphereNetworkNames    []string            `yaml:"vsphere_network_names,omitempty"`
	VsphereDataStoreName   string              `yaml:"vsphere_datastore_name,omitempty"`
	VsphereNodes           []VsphereNode       `yaml:"vsphere_nodes,omitempty"`
	VsphereAdditionalDisks []map[string]string `yaml:"vsphere_additional_disks,omitempty"`
}

func (*TerragruntVMwareVars) GetInput

func (t *TerragruntVMwareVars) GetInput() (input.Input, error)

type VMwareAnsileInventory

type VMwareAnsileInventory struct {
	input.Input
	AppName string
}

func (*VMwareAnsileInventory) GetInput

func (t *VMwareAnsileInventory) GetInput() (input.Input, error)

type VMwareMainTf

type VMwareMainTf struct {
	input.Input
	EnvName                             string
	AppName                             string
	TFModuleVaultApproleSource          string
	TFModuleCloudInitSource             string
	TFModuleVsphereVirtualMachineSource string
}

func (*VMwareMainTf) GetInput

func (t *VMwareMainTf) GetInput() (input.Input, error)

type VMwareOutputsTf

type VMwareOutputsTf struct {
	input.Input
	AppName string
}

func (*VMwareOutputsTf) GetInput

func (t *VMwareOutputsTf) GetInput() (input.Input, error)

type VMwareUserdataSh

type VMwareUserdataSh struct {
	input.Input
	AppName string
}

func (*VMwareUserdataSh) GetInput

func (t *VMwareUserdataSh) GetInput() (input.Input, error)

type VMwareVariablesTf

type VMwareVariablesTf struct {
	input.Input
	EnvName string
	AppName string
}

func (*VMwareVariablesTf) GetInput

func (t *VMwareVariablesTf) GetInput() (input.Input, error)

type VarsOverrideYml added in v0.2.2

type VarsOverrideYml struct {
	input.Input
}

func (*VarsOverrideYml) GetInput added in v0.2.2

func (t *VarsOverrideYml) GetInput() (input.Input, error)

type VsphereNode added in v0.2.11

type VsphereNode struct {
	Name        string `yaml:"name,omitempty"`
	Hostname    string `yaml:"hostname,omitempty"`
	IPV4Address string `yaml:"ipv4_address,omitempty"`
}

Jump to

Keyboard shortcuts

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