mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 23:01:14 +00:00
Update example syntax in playbooks_lookups.rst. (#35678)
This commit is contained in:
committed by
John R Barker
parent
1b7e5d19a2
commit
aeb749e116
@@ -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`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user