Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultStagingDir = "/tmp/packer-provisioner-ansible-local"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` // The main playbook file to execute. PlaybookFile string `mapstructure:"playbook_file"` // An array of local paths of playbook files to upload. PlaybookPaths []string `mapstructure:"playbook_paths"` // An array of local paths of roles to upload. RolePaths []string `mapstructure:"role_paths"` // The directory where files will be uploaded. Packer requires write // permissions in this directory. StagingDir string `mapstructure:"staging_directory"` // contains filtered or unexported fields }
type Provisioner ¶
type Provisioner struct {
// contains filtered or unexported fields
}
func (*Provisioner) Cancel ¶
func (p *Provisioner) Cancel()
func (*Provisioner) Prepare ¶
func (p *Provisioner) Prepare(raws ...interface{}) error
func (*Provisioner) Provision ¶
func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error
Click to show internal directories.
Click to hide internal directories.