Problem: Template creation: Playbook/File dropdown strictly filters .yml files even when App is set to Bash
Author: McGyver851Created Aug 24, 2026Updated Sep 24, 2026
Issue
When creating or editing a Task Template with the App type set to Bash (or non-Ansible runners), the file picker dropdown ("Playbook filename") only scans and displays *.yml / *.yaml files from the selected repository.
Because the UI uses a strict autocomplete field, manual paths to .sh scripts cannot be entered or saved (the field resets).
How to reproduce
- Create a new Task Template.
- Select App: Bash (or Shell).
- Select a repository containing
.shscripts. - Open the "Script filename" dropdown.
- Only
.ymlfiles are visible; typingscript.shand clicking away clears the selection.
Expected behavior
- If App is set to Bash, the file picker should scan for
.sh/ executable script files, or: - The UI field should be a combobox allowing arbitrary manual path entries (e.g.
scripts/deploy.sh) without requiring the item to be in the filtered list.
Environment
- Semaphore Version: >= 2.19.x
- OS / Runner: Linux
Impact
Web-Frontend (what users interact with)
Installation method
Binary
Database
SQLite
Browser
Microsoft Edge
Semaphore Version
= 2.19.x
Ansible Version
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response
Source: semaphoreui/semaphore