#4164·semaphore

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

  1. Create a new Task Template.
  2. Select App: Bash (or Shell).
  3. Select a repository containing .sh scripts.
  4. Open the "Script filename" dropdown.
  5. Only .yml files are visible; typing script.sh and 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

bash

Logs & errors

No response

Manual installation - system information

No response

Configuration

No response

Additional information

No response