Clarify `inventory_directory` in ansible provisioner docs

This commit is contained in:
Dan Fuchs 2017-04-04 22:58:46 -05:00
parent 3fc809c05b
commit 50637a68bf
1 changed files with 6 additions and 7 deletions

View File

@ -114,13 +114,12 @@ Optional Parameters:
packer. packer.
- `inventory_directory` (string) - The directory in which to place the - `inventory_directory` (string) - The directory in which to place the
generated ansible inventory file. If this is specified, then this directory temporary generated Ansible inventory file. By default, this is the
is what will get passed to the `-i` argument of the `ansible` command when system-specific temporary file location. The fully-qualified name of this
this provisioner runs Ansible. By default, the generated ansible inventory temporary file will be passed to the `-i` argument of the `ansible` command
will be placed in a temporary file in the system-specific temporary file when this provisioner runs ansible. Specify this if you have an existing
location, and the fully-qualified name of this temporary file will be passed inventory directory with `host_vars` `group_vars` that you would like to use
to the `-i` argument of the `ansible` command when this provisioner runs in the playbook that this provisioner will run.
ansible.
## Limitations ## Limitations