From 158fdb187626364ac390db87a7dd45c97c216e74 Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Mon, 17 Jun 2019 20:33:49 +0200
Subject: [PATCH] ipatopologysegment: Use commands, not command

command has been used instead of commands. command is not defined.
---
 plugins/modules/ipatopologysegment.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/modules/ipatopologysegment.py b/plugins/modules/ipatopologysegment.py
index 19c9051c..de71dc11 100644
--- a/plugins/modules/ipatopologysegment.py
+++ b/plugins/modules/ipatopologysegment.py
@@ -305,7 +305,7 @@ def main():
                     elif direction == "right-to-left":
                         args["right"] = True
 
-                    command.append(["topologysegment_reinitialize", args])
+                    commands.append(["topologysegment_reinitialize", args])
             else:
                 ansible_module.fail_json(msg="Unkown state '%s'" % state)
 
-- 
GitLab