From faa5a73c73edcd46132105d5e55065eca08d3b82 Mon Sep 17 00:00:00 2001 From: Mike Wiebe Date: Wed, 28 Nov 2018 22:59:21 -0500 Subject: [PATCH] Fix n3k power supply facts (#49150) (cherry picked from commit af1e6878e9061a07cfdfa1aea89ab6cbc4f02fcd) --- lib/ansible/modules/network/nxos/nxos_facts.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/nxos/nxos_facts.py b/lib/ansible/modules/network/nxos/nxos_facts.py index 4dac3986b76..00290a93a15 100644 --- a/lib/ansible/modules/network/nxos/nxos_facts.py +++ b/lib/ansible/modules/network/nxos/nxos_facts.py @@ -721,9 +721,13 @@ class Legacy(FactsBase): ('psmodel', 'model'), ('psnum', 'number'), ('ps_status', 'status'), + ('ps_status_3k', 'status'), ('actual_out', 'actual_output'), ('actual_in', 'actual_in'), - ('total_capa', 'total_capacity') + ('total_capa', 'total_capacity'), + ('input_type', 'input_type'), + ('watts', 'watts'), + ('amps', 'amps') ]) def populate(self):