Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saymolet/ansible-gitbucket
Ansible playbook to deploy gitbucket on multiple servers. Includes LoadBalancer, NFS, Shared DB and Workers
https://github.com/saymolet/ansible-gitbucket
ansible ansible-roles gitbucket
Last synced: 9 days ago
JSON representation
Ansible playbook to deploy gitbucket on multiple servers. Includes LoadBalancer, NFS, Shared DB and Workers
- Host: GitHub
- URL: https://github.com/saymolet/ansible-gitbucket
- Owner: saymolet
- Created: 2023-06-03T15:38:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-14T21:06:10.000Z (over 1 year ago)
- Last Synced: 2024-11-22T18:58:58.024Z (2 months ago)
- Topics: ansible, ansible-roles, gitbucket
- Language: Jinja
- Homepage: https://github.com/gitbucket/gitbucket
- Size: 142 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible-gitbucket
This ansible playbook is intented for personal use. But feel free to borrow or modify it for your needs.
## Requirements
* The architecture allows for 1 Load Balancer, 1 Shared Database, 1 Shared NFS Server, and an `n` number of workers. So in total you need to have `3 + n` servers.
* All servers must be some flavor of `RHEL`, `Oracle Linux` or `CentOS`.
* Firewall rules restrict ingress trafic to `10.26.0.0/24` mask, so be aware of that.### On Host:
* `dnf update`
* `dnf install ansible-core`
* `ansible-galaxy collection install -r requirements.yml`## Usage
Edit `hosts` file to include your managed machine adresses. Configure an ssh connection to your managed machines.Сhange the default password 'root' for vault.yml:
```console
ansible-vault rekey group_vars/all/vault.yml
ansible-vault rekey group_vars/db_servers/vault.yml
```Change default password variables inside `vault.yml` with:
```console
ansible-vault edit group_vars/all/vault.yml
ansible-vault edit group_vars/db_servers/vault.yml
```Initiate a playbook by running:
```console
ansible-playbook --ask-vault-pass -i production site.yml
```