From a9755d4ad01f88cf7de0d0e4748a87ec9217c19d Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 29 Jul 2019 16:30:01 +0100 Subject: [PATCH] [linear2] update mitogen_get_stack for new _build_stack() return value --- ansible_mitogen/plugins/action/mitogen_get_stack.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible_mitogen/plugins/action/mitogen_get_stack.py b/ansible_mitogen/plugins/action/mitogen_get_stack.py index 12afbfba..171f84ea 100644 --- a/ansible_mitogen/plugins/action/mitogen_get_stack.py +++ b/ansible_mitogen/plugins/action/mitogen_get_stack.py @@ -47,8 +47,9 @@ class ActionModule(ActionBase): 'skipped': True, } + _, stack = self._connection._build_stack() return { 'changed': True, - 'result': self._connection._build_stack(), + 'result': stack, '_ansible_verbose_always': True, }