Ansible Docs: Display multiline examples in block

This commit is contained in:
Gilles Cornu 2013-12-14 16:14:20 +01:00
parent edb59ebeff
commit d584a56ac2
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"],