ipatopologysegment: Use commands, not command

command has been used instead of commands. command is not defined.
This commit is contained in:
Thomas Woerner
2019-06-17 20:33:49 +02:00
parent c905cdaf02
commit 158fdb1876

View File

@@ -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)