mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update example syntax in playbooks_lookups.rst. (#35678)
This commit is contained in:
parent
1b7e5d19a2
commit
aeb749e116
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ One way of using lookups is to populate variables. These macros are evaluated ea
|
|||
vars:
|
||||
motd_value: "{{ lookup('file', '/etc/motd') }}"
|
||||
tasks:
|
||||
- debug: msg="motd value is {{ motd_value }}"
|
||||
- debug:
|
||||
msg: "motd value is {{ motd_value }}"
|
||||
|
||||
For more details and a complete list of lookup plugins available, please see :doc:`plugins/lookup`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue