mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 21:01:13 +00:00
Merge pull request #14480 from ikrauchanka/patch-1
Update playbooks_lookups.rst
This commit is contained in:
@@ -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') }}"
|
||||
|
||||
Reference in New Issue
Block a user