mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Tweak documentation example about lookup plugins
This commit is contained in:
parent
f4dddfdbab
commit
5cdc25ec47
1 changed files with 3 additions and 1 deletions
|
@ -508,7 +508,9 @@ You can also assign these to variables, should you wish to do this instead, that
|
|||
when they are used in a task (or template)::
|
||||
|
||||
vars:
|
||||
redis_value: msg=$LOOKUP(redis,redis://localhost:6379,info_${inventory_hostname})
|
||||
redis_value: $LOOKUP(redis,redis://localhost:6379,info_${inventory_hostname})
|
||||
auth_key_value: $FILE(/home/mdehaan/.ssh/id_rsa.pub)
|
||||
|
||||
tasks:
|
||||
- debug: msg=Redis value for host is $redis_value
|
||||
|
||||
|
|
Loading…
Reference in a new issue