mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
e7b2308b66
commit
c419cacb04
1 changed files with 3 additions and 1 deletions
|
@ -88,10 +88,12 @@ class StrategyModule(StrategyBase):
|
||||||
if host_state_task is None:
|
if host_state_task is None:
|
||||||
continue
|
continue
|
||||||
(s, t) = host_state_task
|
(s, t) = host_state_task
|
||||||
|
if t is None:
|
||||||
|
continue
|
||||||
if s.run_state == cur_state and s.cur_block == cur_block:
|
if s.run_state == cur_state and s.cur_block == cur_block:
|
||||||
new_t = iterator.get_next_task_for_host(host)
|
new_t = iterator.get_next_task_for_host(host)
|
||||||
#if new_t != t:
|
#if new_t != t:
|
||||||
# raise AnsibleError("iterator error, wtf?")
|
# raise AnsibleError("iterator error, wtf?") FIXME
|
||||||
rvals.append((host, t))
|
rvals.append((host, t))
|
||||||
else:
|
else:
|
||||||
rvals.append((host, noop_task))
|
rvals.append((host, noop_task))
|
||||||
|
|
Loading…
Reference in a new issue