1
0
Fork 0
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:
Joshua Smith 2018-02-03 06:31:12 -05:00 committed by John R Barker
parent 1b7e5d19a2
commit aeb749e116

View file

@ -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`.