add documentation to ansible provisioner warning against running Packer as root

This commit is contained in:
Megan Marsh 2018-05-09 09:59:54 -07:00
parent 8848682c35
commit c1cb31a8a9
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
$ 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.