ab6570dc9e
This patch instructs gitlab's omnibus image to configure logging to only retain 5 files for each services which are not larger than 10MiB or older than a day (default rotation time). This should help to prevent random crashes/becoming unhealthy, which seems to originate from a filled up tmpfs for logging. Reference: https://docs.gitlab.com/13.11/omnibus/settings/logs.html#runit-logs |
||
---|---|---|
.ansible/skeleton/default | ||
guides | ||
playbooks | ||
roles | ||
.editorconfig | ||
.gitlab-ci.yml | ||
.renovaterc.json | ||
.vault_pass | ||
ansible.cfg | ||
LICENSE | ||
README.md | ||
requirements.yml |
Infrastructure
Ansible infrastructure playbooks/roles for the saibotk.de services.
Requirements
Some roles may need specific python libraries etc. installed on the Ansible client (for example python-influxdb for the roles/monitoring role).
Setup
Install all required roles from ansible galaxy using:
ansible-galaxy install -f -r requirements.yml
Run with your local (test) inventory:
ansible-playbook -i test.inventory playbooks/PLAYBOOK.yml
Create new roles
When creating new roles, you can set up an initial folder structure with Ansible-Galaxy and the default skeleton folder structures defined in .ansible/skeleton. For more information check out the Ansible documentation here
cd roles
ansible-galaxy init ROLE_NAME
License
This repository is licensed under GPL-3 and many roles are derived from the awesome infrastructure repository published by Sheogorath.
Thank you, and so I hope this can be as useful to someone else as Sheogorath's repository was to me.