[add] role:gitlab

This commit is contained in:
Christian Fraß 2023-12-17 15:10:34 +01:00
parent 6a18b136d9
commit d7938cc073
3 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,3 @@
{
"var_gitlab_domain": "gitlab.example.org"
}

View file

@ -0,0 +1,9 @@
## Beschreibung
Software-Entwickler-Plattform [GitLab](https://about.gitlab.com/)
## Verweise
- [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/)

View file

@ -0,0 +1,31 @@
[
{
"name": "prerequisites",
"become": true,
"ansible.builtin.apt": {
"pkg": [
"curl",
"ca-certificates",
"apt-transport-https",
"gnupg2"
]
}
},
{
"name": "install script",
"become": true,
"ansible.builtin.shell": {
"cmd": "curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash"
}
},
{
"name": "prerequisites",
"become": true,
"ansible.builtin.apt": {
"pkg": [
"gitlab-ce"
]
}
}
]