From d0eb2609a852ff7b80e2f3c93f48da613acb10d5 Mon Sep 17 00:00:00 2001 From: John Jones Date: Tue, 2 Apr 2019 21:17:08 -0700 Subject: [PATCH] Ansible 2,7 "use_tty" fix Per Issue #6453, Ansible@2.7 targetting Windows was throwing the following error when setup as the docs instruct: "Requested option use_tty was not defined in configuration" This is caused by something in Ansible silently discarding the whole `DOCUMENTATION` string configuration when it can't parse it. The changed line in this PR fixes that. :) --- website/source/docs/provisioners/ansible.html.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/source/docs/provisioners/ansible.html.md b/website/source/docs/provisioners/ansible.html.md index 7ec4941c9..b5b68fe94 100644 --- a/website/source/docs/provisioners/ansible.html.md +++ b/website/source/docs/provisioners/ansible.html.md @@ -262,8 +262,7 @@ DOCUMENTATION = ''' connection: packer short_description: ssh based connections for powershell via packer description: - - This connection plugin allows ansible to communicate to the target packer - machines via ssh based connections for powershell. + - This connection plugin allows ansible to communicate to the target packer machines via ssh based connections for powershell. author: Packer version_added: na options: