[add] role:gitlab
This commit is contained in:
parent
6a18b136d9
commit
d7938cc073
3 changed files with 43 additions and 0 deletions
3
ansible/roles/gitlab/defaults/main.json
Normal file
3
ansible/roles/gitlab/defaults/main.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"var_gitlab_domain": "gitlab.example.org"
|
||||
}
|
9
ansible/roles/gitlab/info.md
Normal file
9
ansible/roles/gitlab/info.md
Normal 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/)
|
31
ansible/roles/gitlab/tasks/main.json
Normal file
31
ansible/roles/gitlab/tasks/main.json
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
Add table
Reference in a new issue