Related to
Web-Frontend (what users interact with)
Impact
better user experience
Missing Feature
There is no way to write or edit an Ansible playbook directly in the Semaphore web UI. Currently the only supported repository sources are:
- Git (GitHub, GitLab, Gitea, etc.)
- Local path (a folder on the server where Semaphore is running)
I would like to be able to write a playbook inline directly in the browser, similar to how the Inventory section already allows you to type static inventory content directly in the UI.
Implementation
Add a new repository type called "Inline" or "Embedded" that:
- Stores the playbook content directly in the Semaphore database
- Shows a code editor in the UI (similar to the existing inventory inline editor)
- Supports syntax highlighting for YAML
This would be consistent with how inventory already works — the inventory section already has an "inline" option where you can type hosts directly in the UI. The same concept should apply to playbooks/repositories.
Design
The existing inline inventory editor in Semaphore is a good reference for how this should look and behave. The same text editor component could be reused for the playbook content.
Edge cases to consider:
- Playbook content should be versioned or at least show last-modified timestamp
- Should validate YAML syntax before saving
- When a Task Template references an inline repository, deleting the repository should warn the user
- Multi-file playbooks (with roles/includes) would not be supported in inline mode — this should be clearly communicated to the user
Related to
Web-Frontend (what users interact with)
Impact
better user experience
Missing Feature
There is no way to write or edit an Ansible playbook directly in the Semaphore web UI. Currently the only supported repository sources are:
I would like to be able to write a playbook inline directly in the browser, similar to how the Inventory section already allows you to type static inventory content directly in the UI.
Implementation
Add a new repository type called "Inline" or "Embedded" that:
This would be consistent with how inventory already works — the inventory section already has an "inline" option where you can type hosts directly in the UI. The same concept should apply to playbooks/repositories.
Design
The existing inline inventory editor in Semaphore is a good reference for how this should look and behave. The same text editor component could be reused for the playbook content.
Edge cases to consider: