Merge pull request #2658 from gildegoma/ansible_doc_small_improvements

website/docs: cosmetic improvements on Ansible
This commit is contained in:
Mitchell Hashimoto 2014-01-07 14:07:57 -08:00
commit 5c4973beb8
1 changed files with 20 additions and 18 deletions

View File

@ -120,6 +120,7 @@ The Ansible provisioner also includes a number of additional options that can be
all of which get passed to the `ansible-playbook` command that ships with Ansible.
* `ansible.extra_vars` can be used to pass additional variables (with highest priority) to the playbook. This parameter can be a path to a JSON or YAML file, or a hash. For example:
```
ansible.extra_vars = {
ntp_server: "pool.ntp.org",
@ -147,6 +148,7 @@ by the sudo command.
* Any supported options (described above) will override conflicting `raw_arguments` value (e.g. `--tags` or `--start-at-task`)
* Vagrant default user authentication can be overridden via `raw_arguments` (with custom values for `--user` and `--private-key`)
* `ansible.groups` can be used to pass a hash of group names and group members to be included in the generated inventory file. For example:
```
ansible.groups = {
"group1" => ["machine1"],