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
Add support for inventories stored in a Git repository #1823
Comments
+1 for this. I version control everything so im blocked by this. |
We already make this using ansible for git and http server
create dummy inventory git project
commit changes
copy this content into http_server folder
Run http server
Open new terminalcopy this playbook content into project folder.
run playbook
Example output
|
Will there be an option to select a Git repo as an investoy in the UI in the near future? |
Duplicate #902 |
Title: Add support for inventories stored in a Git repository
Description:
Currently, Ansible Semaphore only supports inventories stored locally within a project. However, for many users, especially those who use static inventories, it would be extremely useful to have the ability to store inventory files in a Git repository.
I propose adding the following functionality:
Justification:
Storing inventories in Git will provide the following benefits:
This functionality will be especially useful for projects with complex multi-level static inventories, as well as for those who practice the GitOps approach.
Possible implementation:
I would appreciate consideration of this proposal. I'm ready to provide additional details and participate in the discussion of the implementation. Thank you!
The text was updated successfully, but these errors were encountered: