This contains all Ansible playbooks/roles used to deploy saibotk.de services.
Find a file
Saibotk a178af1735
telgraf: Fix config folder permissions
With the recent update to telegraf's container image it now runs under its own user and thus we need to change the permissions to make the config file accessible for the new user.

See https://github.com/influxdata/influxdata-docker/pull/536
2021-10-29 23:33:21 +02:00
.ansible/skeleton/default Add default role skeleton 2021-02-28 19:39:59 +01:00
guides Initial commit 2020-08-10 01:37:13 +02:00
playbooks playbooks: Adjust maubot and webhooks host groups to not use "-" char 2021-09-22 02:52:34 +02:00
roles telgraf: Fix config folder permissions 2021-10-29 23:33:21 +02:00
.editorconfig Add self-documenting Makefile 2021-06-02 23:31:44 +02:00
.gitlab-ci.yml CI: Fix ansible-lint search space 2021-09-14 00:44:30 +02:00
.renovaterc.json renovate: Remove pr limit 2021-10-23 18:54:58 +02:00
.vault_pass Add .editorconfig & .vault_pass 2020-08-10 02:06:18 +02:00
ansible.cfg Ansible: Set transfer method to scp explicitly 2021-05-30 17:02:29 +02:00
ansible.lint.cfg CI: Fix ansible-lint search space 2021-09-14 00:44:30 +02:00
LICENSE Initial commit 2020-08-10 01:37:13 +02:00
Makefile CI: Fix ansible-lint search space 2021-09-14 00:44:30 +02:00
README.md Move playbooks into their own folder 2021-03-05 14:06:48 +01:00
requirements.yml automation: Update devsec.hardening to version 7.12.0 2021-10-22 12:09:13 +00:00

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.