parent
5952892e10
commit
b1639a782b
|
@ -14,9 +14,10 @@ Type: `ansible`
|
||||||
The `ansible` Packer provisioner runs Ansible playbooks. It dynamically creates
|
The `ansible` Packer provisioner runs Ansible playbooks. It dynamically creates
|
||||||
an Ansible inventory file configured to use SSH, runs an SSH server, executes
|
an Ansible inventory file configured to use SSH, runs an SSH server, executes
|
||||||
`ansible-playbook`, and marshals Ansible plays through the SSH server to the
|
`ansible-playbook`, and marshals Ansible plays through the SSH server to the
|
||||||
machine being provisioned by Packer. Note, this means that any `remote_user`
|
machine being provisioned by Packer.
|
||||||
defined in tasks will be ignored. Packer will always connect with the user
|
|
||||||
given in the json config.
|
-> **Note:**: Any `remote_user` defined in tasks will be ignored. Packer will
|
||||||
|
always connect with the user given in the json config for this provisioner.
|
||||||
|
|
||||||
## Basic Example
|
## Basic Example
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue