Update playbooks_lookups.rst
This commit is contained in:
parent
4b953c4b16
commit
889c273ac4
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ The file lookup is the most basic lookup type.
|
|||
|
||||
Contents can be read off the filesystem as follows::
|
||||
|
||||
---
|
||||
- hosts: all
|
||||
vars:
|
||||
contents: "{{ lookup('file', '/etc/foo.txt') }}"
|
||||
|
|
Loading…
Reference in a new issue