-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Issue
When exporting a project that contains an ansible inventory that refers to a file held in a repository the exported project does not contain reference to the repository - E.g:
"inventories": [
{
"inventory": "inventory/bast-inventory.aws_ec2.yaml",
"name": "bastion-hat-global",
"ssh_key": "ansible",
"type": "file"
}
],Have tried adding the repository into the project template as follows:
"inventories": [
{
"inventory": "inventory/bast-inventory.aws_ec2.yaml",
"name": "bastion-hat-global",
"ssh_key": "ansible",
"type": "file",
"repository": "bastion-build"
}
],However, this does not work.
I have attached a screenshot of the inventory config in the UI. This means currently we have to change this setting manually in the UI or then make an additional API call to update the inventory.
Impact
Semaphore Project
Installation method
Package
Database
Postgres
Browser
No response
Semaphore Version
2.16.16-4066a1e-1755360390
Ansible Version
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response
Copilot
