From 589f8b72dc040f136fa45b31fd009726fe623bf9 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Tue, 4 Apr 2017 12:01:32 -0700 Subject: [PATCH] provisioner/ansible-local: document staging dir We made the staging directory random earlier, so let's document it properly. --- .../docs/provisioners/ansible-local.html.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/website/source/docs/provisioners/ansible-local.html.md b/website/source/docs/provisioners/ansible-local.html.md index c79338624..2863f3baa 100644 --- a/website/source/docs/provisioners/ansible-local.html.md +++ b/website/source/docs/provisioners/ansible-local.html.md @@ -127,9 +127,12 @@ chi-appservers `staging_directory`/roles. By default, this is empty. - `staging_directory` (string) - The directory where all the configuration of - Ansible by Packer will be placed. By default this - is "/tmp/packer-provisioner-ansible-local". This directory doesn't need to - exist but must have proper permissions so that the SSH user that Packer uses - is able to create directories and write into this folder. If the permissions - are not correct, use a shell provisioner prior to this to configure - it properly. + Ansible by Packer will be placed. By default this is + `/tmp/packer-provisioner-ansible-local/`, where `` is replaced + with a unique ID so that this provisioner can be run more than once. If + you'd like to know the location of the staging directory in advance, you + should set this to a known location. This directory doesn't need to exist + but must have proper permissions so that the SSH user that Packer uses is + able to create directories and write into this folder. If the permissions + are not correct, use a shell provisioner prior to this to configure it + properly.