summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrishna Guha <trishnaguha17@gmail.com>2017-05-05 08:36:00 +0530
committerGitHub <noreply@github.com>2017-05-05 08:36:00 +0530
commit986765312f65b03b62799cbb2fc32f82d0f02493 (patch)
treeb5b74b0db13df8dc4f8de318970640c27b9b809b
parent67bd8f9204baacf298e15b1f8e52957933415135 (diff)
downloadansible-986765312f65b03b62799cbb2fc32f82d0f02493.tar.gz
Fixes #23948 body not defined nxos_hsrp (#24093)
-rw-r--r--lib/ansible/modules/network/nxos/nxos_hsrp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/modules/network/nxos/nxos_hsrp.py b/lib/ansible/modules/network/nxos/nxos_hsrp.py
index 7d12453757..73861f12ea 100644
--- a/lib/ansible/modules/network/nxos/nxos_hsrp.py
+++ b/lib/ansible/modules/network/nxos/nxos_hsrp.py
@@ -491,6 +491,7 @@ def main():
else:
load_config(module, commands)
if transport == 'cli':
+ body = run_commands(module, commands)
validate_config(body, vip, module)
changed = True
end_state = get_hsrp_group(group, interface, module)