From 0474b5ce5dc53024bb3614d8aa8431bb37e2a94d Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sun, 25 Jan 2015 15:20:49 -0500 Subject: [PATCH] Document that dnstxt lookup requires dnspython Add a line in the docs to specify that dnstxt requires that you have the dnspython package installed. --- docsite/rst/playbooks_lookups.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docsite/rst/playbooks_lookups.rst b/docsite/rst/playbooks_lookups.rst index 429a1a1232b..00ebb338b9c 100644 --- a/docsite/rst/playbooks_lookups.rst +++ b/docsite/rst/playbooks_lookups.rst @@ -121,6 +121,7 @@ Here are some examples:: - debug: msg="{{ lookup('redis_kv', 'redis://localhost:6379,somekey') }} is value in Redis for somekey" + # dnstxt lookup requires the Python dnspython package - debug: msg="{{ lookup('dnstxt', 'example.com') }} is a DNS TXT record for example.com" - debug: msg="{{ lookup('template', './some_template.j2') }} is a value from evaluation of this template"