From 90cb7e193738d4a7a1d53daa9e7a98e75d0b0301 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 6 Jan 2016 09:58:20 -0500 Subject: [PATCH] Don't drop noops from task counting code in linear strategy --- lib/ansible/plugins/strategy/linear.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/ansible/plugins/strategy/linear.py b/lib/ansible/plugins/strategy/linear.py index 04abe0eb8f..f441b88fe3 100644 --- a/lib/ansible/plugins/strategy/linear.py +++ b/lib/ansible/plugins/strategy/linear.py @@ -67,12 +67,6 @@ class StrategyModule(StrategyBase): host_tasks_to_run = [(host, state_task) for host, state_task in iteritems(host_tasks) if state_task and state_task[1]] - # Drop noops - host_tasks_to_run = [ - (host, (state, task)) - for host, (state, task) in host_tasks_to_run - if task.action != 'meta' or task.args.get('_raw_params') != 'noop' - ] if host_tasks_to_run: lowest_cur_block = min(