[mod] role:gitlab
This commit is contained in:
parent
d7938cc073
commit
e49e42a9a9
4 changed files with 3418 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
{
|
{
|
||||||
"var_gitlab_domain": "gitlab.example.org"
|
"var_gitlab_domain": "gitlab.example.org",
|
||||||
|
"var_gitlab_oauth2_enable": false,
|
||||||
|
"var_gitlab_oauth2_label": "external auth",
|
||||||
|
"var_gitlab_oauth2_client_id": "gitlab",
|
||||||
|
"var_gitlab_oauth2_client_secret": "REPLACE_ME",
|
||||||
|
"var_gitlab_oauth2_issuer_url": "https://auth.example.org"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,3 +7,4 @@ Software-Entwickler-Plattform [GitLab](https://about.gitlab.com/)
|
||||||
|
|
||||||
- [Dokumentation | Install self-managed](https://about.gitlab.com/install/)
|
- [Dokumentation | Install self-managed](https://about.gitlab.com/install/)
|
||||||
- [LinuxTechi | How to Install GitLab on Debian 12 Step-by-Step](https://www.linuxtechi.com/how-to-install-gitlab-on-debian/)
|
- [LinuxTechi | How to Install GitLab on Debian 12 Step-by-Step](https://www.linuxtechi.com/how-to-install-gitlab-on-debian/)
|
||||||
|
- [Dokumentation | Configuration](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md)
|
||||||
|
|
|
@ -26,6 +26,21 @@
|
||||||
"gitlab-ce"
|
"gitlab-ce"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "configuration",
|
||||||
|
"become": true,
|
||||||
|
"ansible.builtin.template": {
|
||||||
|
"src": "gitlab.rb.j2",
|
||||||
|
"dest": "/etc/gitlab/gitlab.rb"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "setup",
|
||||||
|
"become": true,
|
||||||
|
"ansible.builtin.command": {
|
||||||
|
"cmd": "gitlab-ctl reconfigure"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
3395
ansible/roles/gitlab/templates/gitlab.rb.j2
Normal file
3395
ansible/roles/gitlab/templates/gitlab.rb.j2
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue