From 1c157a8cf125e17bed5f6dbf9fb4441f67f4335e Mon Sep 17 00:00:00 2001 From: Elad Alfassa Date: Tue, 26 Dec 2017 12:20:33 +0200 Subject: [PATCH] Fix env lookup plugin docs (#34235) The env lookup plugin docs mistakenly mentioned dns TXT records, and that it requires a DNS resolver library. --- lib/ansible/plugins/lookup/env.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/ansible/plugins/lookup/env.py b/lib/ansible/plugins/lookup/env.py index daa06ff208..6892feb8c5 100644 --- a/lib/ansible/plugins/lookup/env.py +++ b/lib/ansible/plugins/lookup/env.py @@ -9,8 +9,6 @@ DOCUMENTATION = """ author: Jan-Piet Mens (@jpmens) version_added: "0.9" short_description: read the value of environment variables - requirements: - - dns/dns.resolver (python library) description: - Allows you to query the environment variables available on the controller when you invoked Ansible. options: @@ -26,7 +24,7 @@ EXAMPLES = """ RETURN = """ _list: description: - - values returned by the DNS TXT record. + - values from the environment variables. type: list """ import os