Merge pull request #6258 from hashicorp/do_6257

add documentation to ansible provisioner warning against running Pack…
This commit is contained in:
M. Marsh 2018-05-09 14:02:53 -07:00 committed by GitHub
commit 3944088d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -260,3 +260,7 @@ To unload all keys from your `ssh-agent`, run:
```console ```console
$ ssh-add -D $ ssh-add -D
``` ```
### Become: yes
We recommend against running Packer as root; if you do then you won't be able to successfully run your ansible playbook as root; `become: yes` will fail.