Update example syntax in playbooks_lookups.rst. (#35678)

pull/35684/head
Joshua Smith 7 years ago 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`.

Loading…
Cancel
Save