added set_winrm_passwd usage instructions

This commit is contained in:
Levi 2018-07-14 15:09:48 -04:00
parent 6646d42490
commit 17074cda2c
1 changed files with 5 additions and 0 deletions

View File

@ -128,6 +128,11 @@ Optional Parameters:
- `user` (string) - The `ansible_user` to use. Defaults to the user running
packer.
- `set_winrm_passwd` (boolean) - Set to `true` to access the randomly-generated
EC2 Windows password through the environment variable `GENERATED_WINRM_PASSWORD`.
You will also need to set `ansible_password` in your ansible playbook, for example,
`ansible_password: "{{ lookup('env','GENERATED_WINRM_PASSWORD') }}"`
## Default Extra Variables
In addition to being able to specify extra arguments using the