docs/ansible: clarify that we ignore remote_user

This commit is contained in:
Matthew Hooker 2017-01-28 19:05:28 -08:00
parent 60a0d21d37
commit d46d5ea2fb
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@ 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. machine being provisioned by Packer. Note, this means that any `remote_user`
defined in tasks will be ignored. Packer will always connect with the user
given in the json config.
## Basic Example ## Basic Example