Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dimmaryanto93/ansible-role-gitlab
Ansible role for Install gitlab
https://github.com/dimmaryanto93/ansible-role-gitlab
ansible gitlab
Last synced: 2 days ago
JSON representation
Ansible role for Install gitlab
- Host: GitHub
- URL: https://github.com/dimmaryanto93/ansible-role-gitlab
- Owner: dimMaryanto93
- Created: 2021-11-14T02:51:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-14T03:10:06.000Z (3 months ago)
- Last Synced: 2024-11-07T09:12:14.371Z (about 2 months ago)
- Topics: ansible, gitlab
- Homepage: https://galaxy.ansible.com/dimmaryanto93/gitlab
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`dimmaryanto93.gitlab`
=========Repository ini digunakan untuk menginstall `gitlab` untuk Linux
Support platform
- Debian
- Ubuntu
- CentOSAnsible - User Guide
------------Persiapan yang harus di lalukan, diantaranya
1. Create new user on your server, Recomend using **very-very Strong Password** or using password generator.
```bash
adduser
```2. Granted to sudoers with NOPASSWD, using `visudo`
```ini
username ALL=(ALL) NOPASSWD:ALL
```3. 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
- [ansible.posix](https://github.com/ansible-collections/ansible.posix)
- [community.general](https://github.com/ansible-collections/community.general)Temen-temen bisa install, dengan cara
```bash
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:
```yaml
---
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:
```ansible
- hosts: servers
become: true
roles:
- { role: dimmaryanto93.gitlab }
```License
-------MIT