Centurion Role Git
A Centurion ERP Role for Git Operations.
Features / TOC
Variables
There are variables, both ansible and environmental; That are common to all tasks within this role. The common variables are:
| Name | Type | Required | Default Value |
Description |
|---|---|---|---|---|
| git_repo_clone_addr | string |
import_only |
Not Set | The address of the repository to import/migrate. |
| git_repo_default_branch | string |
No |
development |
The branch to use as the repositories default branch. |
| git_repo_description | string |
No |
Not Set | The repositories description. |
| git_repo_name | string |
Yes |
Not Set | The name of the repository. |
| git_repo_owner | string |
Yes |
Not Set | The owner of the repository. either be the user or the organisation name. |
| git_repo_private | boolean |
No |
true |
Is this repository to be marked/set as a private repository. |
Additionally the following environmental variables are available:
-
GIT_API_URLRequired The url to the Git API endpoint. i.e.https://your-gitea.com/api/v1 -
GIT_API_TOKENRequired The api token that hasrepository: write,organization: writeanduser: read -
GIT_API_VALIDATE_CERTOptional defaults totrueShould the API request validate the ssl certificate.
About:
This page forms part of our Project Centurion Role Git.
Page Metadata
Version: ToDo: place files short git commit hereDate Created: 2025-12-26
Date Edited: 2026-01-06
Contribution:
Would You like to contribute to our Centurion Role Git project? You can assist in the following ways:
- Edit This Page If there is a mistake or a way you can improve it.
- Add a Page to the Manual if you would like to add an item to our manual
- Raise an Issue if there is something about this page you would like to improve, and git is unfamiliar to you.
ToDo: Add the page list of contributors