Tweak documentation example about lookup plugins

pull/1948/merge
Michael DeHaan 12 years ago
parent f4dddfdbab
commit 5cdc25ec47

@ -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):: when they are used in a task (or template)::
vars: 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: tasks:
- debug: msg=Redis value for host is $redis_value - debug: msg=Redis value for host is $redis_value

Loading…
Cancel
Save