tasks_queue_manager: fix fork calculation if serial in %
(cherry picked from commit 3763283d01
)
This commit is contained in:
parent
a2df07ade3
commit
1ebc94f290
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ class TaskQueueManager:
|
|||
)
|
||||
|
||||
# Fork # of forks, # of hosts or serial, whichever is lowest
|
||||
num_hosts = len(self._inventory.get_hosts(new_play.hosts))
|
||||
num_hosts = len(self._inventory.get_hosts(new_play.hosts, ignore_restrictions=True))
|
||||
|
||||
max_serial = 0
|
||||
if new_play.serial:
|
||||
|
|
Loading…
Add table
Reference in a new issue