Mirrors gitlab projects to gitlab.com and github.com
This repository has been archived on 2026-05-06. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
Thomas Steinbach b095684226 latest version
2018-11-25 13:41:26 +01:00
defaults latest version 2018-11-25 13:41:26 +01:00
examples/default fixed inspec 2018-09-22 01:31:42 +02:00
meta added ansible galaxy information in meta 2018-05-16 10:52:41 +02:00
tasks testing 2018-09-21 23:30:39 +02:00
templates test 2018-09-16 21:42:22 +02:00
.gitlab-ci.yml added inspec tests 2018-09-18 01:50:12 +02:00
README.md update 2018-09-14 21:22:35 +02:00

ansible/gitlab-mirroring

Mirrors repositories from a private hosted Gitlab instance to Gitlab.com and Github.com

To avoid naming conflicts on the target repositories, all source repositories belonging to a group, the group name will be appended like <groupname>-<reponame>

mandatory variables to set

This role needs to know the API-Access tokens for the self hosted Gitlab instance (source) as well as for the targets:

  • SOURCE_GITLAB_TOKEN
  • GITLAB_TOKEN
  • GITHUB_TOKEN

optional variables

Please consult the defauls/main.yml.