From 1a7fed9b6844df302f94a2e6ae2c8e6f196e41ac Mon Sep 17 00:00:00 2001 From: Matthias <42054935+Matthias-Beck@users.noreply.github.com> Date: Thu, 11 Apr 2019 16:34:40 +0200 Subject: [PATCH] na_ontap_gather_facts: Add gather subset system_node_info (#54161) * Add gather subset system_node_info * Fix continuation line --- .../modules/storage/netapp/na_ontap_gather_facts.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/ansible/modules/storage/netapp/na_ontap_gather_facts.py b/lib/ansible/modules/storage/netapp/na_ontap_gather_facts.py index 1448ab722c..fe11bd28b7 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_gather_facts.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_gather_facts.py @@ -268,6 +268,16 @@ class NetAppONTAPGatherFacts(object): 'kwargs': {}, 'min_version': '0', }, + 'system_node_info': { + 'method': self.get_generic_get_iter, + 'kwargs': { + 'call': 'system-node-get-iter', + 'attribute': 'node-details-info', + 'field': 'node', + 'query': {'max-records': '1024'}, + }, + 'min_version': '0', + }, # supported in ONTAP 9.4 and onwards 'nvme_info': { 'method': self.get_generic_get_iter,