1
0
Fork 0
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:
Michael DeHaan 2013-02-02 12:56:56 -05:00
parent f4dddfdbab
commit 5cdc25ec47

View file

@ -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