gitlab
dimmaryanto93.gitlab
Repository ini digunakan untuk menginstall gitlab
untuk Linux
Support platform
- Debian
- Ubuntu
- CentOS
Ansible - User Guide
Persiapan yang harus di lalukan, diantaranya
- Create new user on your server, Recomend using very-very Strong Password or using password generator.
adduser <username>
- Granted to sudoers with NOPASSWD, using
visudo
username ALL=(ALL) NOPASSWD:ALL
- Authenticate with private-key for login ssh, generate ssh key on your local machine then use
ssh-copy-id user@your-ip-server
to copy public key to your server.
Requirements
Untuk menggunakan role ini, kita membutuhkan package/collection
Temen-temen bisa install, dengan cara
ansible-galaxy collection install ansible.posix community.general
Atau temen-temen bisa menggunakan requirement.yaml
file and install menggunakan ansible-galaxy collection install -r requirement.yaml
, dengan format seperti berikut:
---
collections:
- community.general
- ansible.posix
Role Variables
Ada beberapa variable yang temen-temen bisa gunakan untuk setting docker daemon, diantaranya seperti berikut:
Variable name | Example value | Description |
---|---|---|
gitlab_external_url |
http://localhost |
Default value untuk gitlab operation seperti git pull, push, clone |
gitlab_root_password_print |
false |
Tampilkan generated root password for gitlab administrator account |
gitlab_init_shared_runner_registration_token |
- |
Set default token for registration gitlab runner |
gitlab_init_root_password |
- |
Set default password installation for gitlab root account |
Dependencies
None
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
become: true
roles:
- { role: dimmaryanto93.gitlab }
License
MIT
Install
ansible-galaxy install dimMaryanto93/ansible-role-gitlab
License
Unknown
Downloads
79
Owner
Chief Technology Officer @tabeldatadotcom