Ansible Docs: Display multiline examples in block
This commit is contained in:
parent
edb59ebeff
commit
d584a56ac2
|
@ -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.
|
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` 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 = {
|
ansible.extra_vars = {
|
||||||
ntp_server: "pool.ntp.org",
|
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`)
|
* 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`)
|
* 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` 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 = {
|
ansible.groups = {
|
||||||
"group1" => ["machine1"],
|
"group1" => ["machine1"],
|
||||||
|
|
Loading…
Reference in New Issue