From 905b3e2f65d3fc03cc8ffbc59b177ca75b68349c Mon Sep 17 00:00:00 2001 From: David Newswanger Date: Mon, 5 Mar 2018 13:52:02 -0500 Subject: [PATCH] fix NIOS DNS lookup example (#36737) --- lib/ansible/plugins/lookup/nios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/nios.py b/lib/ansible/plugins/lookup/nios.py index 723f49dabe..acaba6e3e6 100644 --- a/lib/ansible/plugins/lookup/nios.py +++ b/lib/ansible/plugins/lookup/nios.py @@ -57,7 +57,7 @@ EXAMPLES = """ - name: fetch the default dns view set_fact: - dns_views: "{{ lookup('nios', 'view', filter={'view': 'default'}, provider={'host': 'nios01', 'username': 'admin', 'password': 'password'}) }}" + dns_views: "{{ lookup('nios', 'view', filter={'name': 'default'}, provider={'host': 'nios01', 'username': 'admin', 'password': 'password'}) }}" # all of the examples below use credentials that are set using env variables # export INFOBLOX_HOST=nios01