mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user