mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #14480 from ikrauchanka/patch-1
Update playbooks_lookups.rst
This commit is contained in:
commit
d47aa3c1bc
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…
Reference in a new issue