provisioner/ansible-local: document staging dir

We made the staging directory random earlier, so let's document it properly.
pull/4758/head
Matthew Hooker 9 years ago
parent 3a083bd88c
commit 589f8b72dc
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1

@ -127,9 +127,12 @@ chi-appservers
`staging_directory`/roles. By default, this is empty. `staging_directory`/roles. By default, this is empty.
- `staging_directory` (string) - The directory where all the configuration of - `staging_directory` (string) - The directory where all the configuration of
Ansible by Packer will be placed. By default this Ansible by Packer will be placed. By default this is
is "/tmp/packer-provisioner-ansible-local". This directory doesn't need to `/tmp/packer-provisioner-ansible-local/<uuid>`, where `<uuid>` is replaced
exist but must have proper permissions so that the SSH user that Packer uses with a unique ID so that this provisioner can be run more than once. If
is able to create directories and write into this folder. If the permissions you'd like to know the location of the staging directory in advance, you
are not correct, use a shell provisioner prior to this to configure should set this to a known location. This directory doesn't need to exist
it properly. 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.

Loading…
Cancel
Save