mirror of https://github.com/ansible/ansible.git
Do not gather mem facts if command invalid (#40820)
* Do not gather mem facts if command invalid
In some firmwares, 'show memory statistics' fail, thus
do not populate mem if we got a failure after running that command.
* Fix pep8
* Warn if got error when running 'sh memory statistics'
* Fix pep8
(cherry picked from commit 669949e6a3
)
pull/40981/head
parent
42661ba459
commit
ca3c0dfaea
Loading…
Reference in New Issue