From df247a99a13e88f775d8d1666f6f0cad4c4564ce Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Sat, 28 Jan 2017 18:41:11 -0800 Subject: [PATCH] ansible does its own coloring. --- website/source/docs/provisioners/ansible-local.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/docs/provisioners/ansible-local.html.md b/website/source/docs/provisioners/ansible-local.html.md index ffb90db0e..c41adbfe3 100644 --- a/website/source/docs/provisioners/ansible-local.html.md +++ b/website/source/docs/provisioners/ansible-local.html.md @@ -48,7 +48,9 @@ Required: Optional: - `command` (string) - The command to invoke ansible. Defaults - to "ansible-playbook". + to "ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook". + Note, This disregards the value of `-color` when passed to `packer build`. + To disable colors, set this to `PYTHONUNBUFFERED=1 ansible-playbook`. - `extra_arguments` (array of strings) - An array of extra arguments to pass to the ansible command. By default, this is empty.