From a5493e49061a1d6340d4632fe43675f0d5eff975 Mon Sep 17 00:00:00 2001 From: Levi Blaney Date: Mon, 16 Jul 2018 17:26:38 -0400 Subject: [PATCH] added the builders that set_winrm_passwd works with --- website/source/docs/provisioners/ansible.html.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/source/docs/provisioners/ansible.html.md b/website/source/docs/provisioners/ansible.html.md index 8bc697cad..64630822d 100644 --- a/website/source/docs/provisioners/ansible.html.md +++ b/website/source/docs/provisioners/ansible.html.md @@ -128,9 +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, +- `set_winrm_passwd` (boolean) - Set to `true` if you are running on AWS, Azure or + Google Compute and would like to access the generated password that Packer uses to + connect to the instance via WinRM. The password will be avaliable on the builder + 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