mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 22:11:44 -07: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::
|
Contents can be read off the filesystem as follows::
|
||||||
|
|
||||||
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
vars:
|
vars:
|
||||||
contents: "{{ lookup('file', '/etc/foo.txt') }}"
|
contents: "{{ lookup('file', '/etc/foo.txt') }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue