mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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