Skip to content

Centurion Role Git


Endpoint Badge

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_URL Required The url to the Git API endpoint. i.e. https://your-gitea.com/api/v1

  • GIT_API_TOKEN Required The api token that has repository: write, organization: write and user: read

  • GIT_API_VALIDATE_CERT Optional defaults to true Should 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 here
Date 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:

 

ToDo: Add the page list of contributors