Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Unable to Execute Multiple Tasks in Parallel When Sharing a Template #2561

Open
nodemasterpro opened this issue Nov 24, 2024 · 0 comments

Comments

@nodemasterpro
Copy link

Issue

I am experiencing an issue with Semaphore where tasks that share the same template cannot run in parallel, even when they target different hosts. Despite using a static local repository and enabling concurrency_mode and max_parallel_tasks, Semaphore continues to queue tasks instead of running them simultaneously.

Impact

Ansible (task execution)

Installation method

Docker

Database

Postgres

Browser

No response

Semaphore Version

Version: 2.10.43

Ansible Version

Ansible version: 2.16.13

Logs & errors

3:48:46 PM
Task 1030 added to queue

Manual installation - system information

N/A

Configuration

Concurrency Mode: node
Max Parallel Tasks: Configured in the WebUI.

Additional information

I have confirmed that switching to static local repositories resolved previous Git synchronization issues but did not enable parallel execution for tasks sharing a template. This limitation might be related to template locking logic.

Request:
Please consider offering a solution or guidance on enabling tasks to run in parallel when they share a template. Options such as disabling template locking for static repositories or a more granular locking mechanism would significantly improve usability in high-concurrency environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant