mirror of https://github.com/ansible/ansible.git
nxos_hsrp: fix 'sh_preempt': <unknown enum:> (#52858)
* nxos_hsrp: fix 'sh_preempt': <unknown enum:>
Some older nxos images fail to set this attr value. This fix checks for
unknown enum and issues a second (unstructured) call to the device to get
the data.
* add whitespace for pep8
(cherry picked from commit 5dc65d0dfc
)
pull/54918/head
parent
0bb0729455
commit
ca5467b5f2
Loading…
Reference in New Issue