mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
commit
f4d649bea0
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ If you are running Ansible 1.4 and later, include syntax is streamlined to match
|
||||||
tasks:
|
tasks:
|
||||||
- { include: wordpress.yml, user: timmy, ssh_keys: [ 'keys/one.txt', 'keys/two.txt' ] }
|
- { include: wordpress.yml, user: timmy, ssh_keys: [ 'keys/one.txt', 'keys/two.txt' ] }
|
||||||
|
|
||||||
Using either syntax, variables passed in can then be used in the included files. We've already covered them a bit in :doc:`playbooks_variables`.
|
Using either syntax, variables passed in can then be used in the included files. We'll cover them in :doc:`playbooks_variables`.
|
||||||
You can reference them like this::
|
You can reference them like this::
|
||||||
|
|
||||||
{{ user }}
|
{{ user }}
|
||||||
|
|
Loading…
Reference in a new issue