1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

tasks_queue_manager: fix fork calculation if serial in %

This commit is contained in:
Rene Moser 2016-10-26 20:59:43 +02:00 committed by Brian Coca
parent 56086f3b9e
commit 3763283d01

View file

@ -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: