mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-19 03:10:22 -07: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:
|
vars:
|
||||||
motd_value: "{{ lookup('file', '/etc/motd') }}"
|
motd_value: "{{ lookup('file', '/etc/motd') }}"
|
||||||
tasks:
|
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`.
|
For more details and a complete list of lookup plugins available, please see :doc:`plugins/lookup`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue