From 681eab1158151320289ce580e6f4eeaae5d181d9 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 24 Jul 2015 10:03:43 -0400 Subject: [PATCH] fix adhoc that broke with assuming step is always in options --- lib/ansible/plugins/strategies/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/strategies/__init__.py b/lib/ansible/plugins/strategies/__init__.py index 3a7bb85dfb2..f6189b03958 100644 --- a/lib/ansible/plugins/strategies/__init__.py +++ b/lib/ansible/plugins/strategies/__init__.py @@ -69,7 +69,7 @@ class StrategyBase: self._variable_manager = tqm.get_variable_manager() self._loader = tqm.get_loader() self._final_q = tqm._final_q - self._step = tqm._options.step + self._step = getattr(tqm._options, 'step', False) self._display = display # internal counters