mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
tasks_queue_manager: fix fork calculation if serial in %
This commit is contained in:
@@ -222,7 +222,7 @@ class TaskQueueManager:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Fork # of forks, # of hosts or serial, whichever is lowest
|
# 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
|
max_serial = 0
|
||||||
if new_play.serial:
|
if new_play.serial:
|
||||||
|
|||||||
Reference in New Issue
Block a user