From bf40b8d11840dd10f2e49b0c6aa2f64f8827276d Mon Sep 17 00:00:00 2001 From: Jadi Date: Fri, 8 Feb 2019 06:17:50 +0330 Subject: [PATCH] Fixed wrong limit on 'Fetch all deployments' sample (#51897) Fixes: #51675 the sample for 'Fetch all deployments' is "{{ lookup('k8s', kind='Deployment', namespace='testing') }}" but it should be "{{ lookup('k8s', kind='Deployment') }}" --- lib/ansible/plugins/lookup/k8s.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/k8s.py b/lib/ansible/plugins/lookup/k8s.py index 13965a2eb73..943513fd0cd 100644 --- a/lib/ansible/plugins/lookup/k8s.py +++ b/lib/ansible/plugins/lookup/k8s.py @@ -135,7 +135,7 @@ EXAMPLES = """ - name: Fetch all deployments set_fact: - deployments: "{{ lookup('k8s', kind='Deployment', namespace='testing') }}" + deployments: "{{ lookup('k8s', kind='Deployment') }}" - name: Fetch all deployments in a namespace set_fact: