Modify documents of extra_arguments for both ansible(remote) and ansible-local. (#3423)

This commit is contained in:
mansunkuo 2016-04-21 11:49:46 +08:00 committed by Chris Bednarski
parent 66c3dabf2f
commit 864be9d991
2 changed files with 6 additions and 1 deletions

View File

@ -52,6 +52,11 @@ Optional:
- `extra_arguments` (array of strings) - An array of extra arguments to pass - `extra_arguments` (array of strings) - An array of extra arguments to pass
to the ansible command. By default, this is empty. to the ansible command. By default, this is empty.
Usage example:
```
"extra_arguments": [ "--extra-vars \"Region={{user `Region`}} Stage={{user `Stage`}}\"" ]
```
- `inventory_groups` (string) - A comma-separated list of groups to which - `inventory_groups` (string) - A comma-separated list of groups to which
packer will assign the host `127.0.0.1`. A value of `my_group_1,my_group_2` packer will assign the host `127.0.0.1`. A value of `my_group_1,my_group_2`

View File

@ -84,7 +84,7 @@ Optional Parameters:
Usage example: Usage example:
``` ```
"extra_arguments": [ "--extra-vars", "\"Region={{user `Region`}} Stage={{user `Stage`}}\"" ] "extra_arguments": [ "--extra-vars", "Region={{user `Region`}} Stage={{user `Stage`}}" ]
``` ```
- `ansible_env_vars` (array of strings) - Environment variables to set before running Ansible. - `ansible_env_vars` (array of strings) - Environment variables to set before running Ansible.