Commit graph

35 commits

Author SHA1 Message Date
Slavi Pantaleev
d2066525c9 Add support for Grafana Loki and Promtail
Most of the work on these roles and integration
was done by https://github.com/moan0s and https://github.com/sudo-Tiz
2024-02-04 18:08:28 +02:00
Slavi Pantaleev
583443deeb Upgrade Keycloak (v23.0.5-0 -> v23.0.5-1) and make metrics exposure obey playbook config 2024-02-01 10:52:15 +02:00
Slavi Pantaleev
d0de03c29d Upgrade InfluxDB (v2.7.0-3 -> v2.7.5-0) 2024-01-30 23:29:18 +02:00
Slavi Pantaleev
c87d2f0b27 Switch from grafana_container_additional_networks to grafana_container_additional_networks_reverse_proxy 2024-01-30 21:11:28 +02:00
Slavi Pantaleev
8cf2b55557 Use prometheus_container_additional_networks_auto, instead of prometheus_container_additional_networks 2024-01-30 20:31:05 +02:00
Slavi Pantaleev
03e262facb Automatically wire prometheus_*_exporter_hostname to mash_playbook_metrics_exposure_hostname 2024-01-23 19:23:27 +02:00
Slavi Pantaleev
18df3cdc9a Upgrade prometheus-ssh-exporter (v1.5.0-1 -> v1.5.0-2) and integrate with mash_playbook_metrics_exposure_* 2024-01-23 18:10:22 +02:00
Slavi Pantaleev
d7c841bc3a Upgrade prometheus-blackbox-exporter (v0.24.0-1 -> v0.24.0-2) and integrate with mash_playbook_metrics_exposure_* 2024-01-23 18:05:23 +02:00
Slavi Pantaleev
3f602da864 Upgrade prometheus-postgres-exporter (v0.14.0-3 -> v0.14.0-4) and integrate with mash_playbook_metrics_exposure_* 2024-01-23 17:58:38 +02:00
Slavi Pantaleev
45951d86d1 Add mash_playbook_metrics_exposure_* variables and integrate with prometheus-node-exporter and apisix-gateway 2024-01-23 17:51:59 +02:00
Slavi Pantaleev
71b167a4bc Add support for APISIX Dashboard 2024-01-23 15:09:25 +02:00
Slavi Pantaleev
395994ebc1 Add support for APISIX Gateway 2024-01-23 15:09:25 +02:00
Slavi Pantaleev
849ee84231 Add support for etcd 2024-01-23 15:09:25 +02:00
Slavi Pantaleev
23273eec0d Upgrade systemd_service_manager (v1.0.0-3 -> v1.0.0-4) 2024-01-17 11:52:14 +02:00
Slavi Pantaleev
7b54c59747 Connect postgres-backup directly to Postgres network, if integrated Postgres is used
This saves us one container network in the ideal case.
2024-01-13 20:12:11 +02:00
Slavi Pantaleev
d967f22776 Upgrade postgres-backup and run it in its own container network, connected to the Postgres one 2024-01-13 17:41:42 +02:00
Slavi Pantaleev
a710fda632 Upgrade prometheus-postgres-exporter (v0.14.0-2 -> v0.14.0-3) and stop using prometheus_postgres_exporter_server_fqn 2024-01-13 15:05:13 +02:00
Slavi Pantaleev
3842af27ed Add exim-relay wiring for Healthchecks 2024-01-06 18:16:17 +02:00
Slavi Pantaleev
dd531b19f4 Add exim-relay service 2024-01-06 13:03:08 +02:00
Slavi Pantaleev
4696f02493 Upgrade GoToSocial (v0.13.0-1 -> v0.13.0-2) 2024-01-06 11:27:03 +02:00
Slavi Pantaleev
cffb13a3dd Upgrade Firezone (v0.7.35-5 -> v0.7.35-7) 2024-01-06 11:22:37 +02:00
Slavi Pantaleev
2a9db9ac06 Make use of vaultwarden_systemd_required_systemd_services_list_auto 2024-01-06 10:56:16 +02:00
Slavi Pantaleev
b20d04bd88 Adjust the correct group vars file
Fixup for 896a96a2b5
2023-12-22 17:09:16 +02:00
Aine
58133ba312
update roles 2023-12-19 18:03:12 +02:00
moanos
f4a2aa4b9b fix: Typo 2023-12-06 16:31:50 +01:00
Slavi Pantaleev
f7e1ff5fba
Fix groups for semaphore 2023-12-06 17:25:48 +02:00
moanos
12a8b63bbd feat: Add ansible-semaphore playbook files 2023-12-06 16:18:42 +01:00
Slavi Pantaleev
a10d2eaf85 Switch from devture_traefik_container_additional_networks to devture_traefik_container_additional_networks_auto
Related to e3375d56f3
2023-12-05 09:18:05 +02:00
Slavi Pantaleev
bf16e7b895 Fix variable name typo 2023-12-01 19:52:36 +02:00
Slavi Pantaleev
da005a7d36 Make hubsite not break when optimizing the playbook 2023-11-21 10:15:40 +02:00
Slavi Pantaleev
803c623bab Add some more role-specific annotations to templates/group_vars_mash_servers
There's a lot more that can be added, especially to decouple from
some default components like Postgres and Traefik.
2023-11-20 17:20:17 +02:00
Slavi Pantaleev
3b6912d275 Ensure certain lists (containing role-specific elements) are never empty 2023-11-20 16:54:43 +02:00
Slavi Pantaleev
3242ee8acd Add role-specific annotations for mash_playbook_mariadb_managed_databases_auto_itemized 2023-11-20 16:49:41 +02:00
Slavi Pantaleev
74dbc2dda4 Add role-specific annotations for mash_playbook_devture_postgres_managed_databases_auto_itemized 2023-11-20 16:48:03 +02:00
Slavi Pantaleev
d2c9ed3e45 Initial work on optimization commands
The playbook can now optimize itself based on the enabled components in
for all hosts in the inventory (`just optimize`) or for a specific host
(`just optimize-for-host HOSTNAME`).

The optimized playbook will have:

- fewer requirements (fewer roles need to be installed by `just roles`)
- a shorter and quicker to evaluate `group_vars/mash_servers` file
- a `setup.yml` file which includes less roles

Running the playbook optimized is still work in progress.
There still probably exist various role dependencies in the group-vars file, etc.

The `optimize-reset` command aims to restore your playbook to a
non-optimized state, which should work as before (and not experience bugs).

The playbook takes care to notice of changes to the various files in
`templates/` (`setup.yml`, `requirements.yml`, `group_vars_mash_servers`)
and update your optimized or non-optimized copies that are derived from
these templates. To do this, it keeps `.srchash` files in the `run/` directory.
When it notices a change in the source file's hash (by comparing to the `.srchash` file),
it will update you to the new template.

Optimization state is stored in a file in `run/` as well (`optimization-vars-files.state`).
Should the playbook notice changes in the source `template/` files, it
should update you and re-optimize using the same parameters as before (read from the state file).
2023-11-20 16:29:06 +02:00
Renamed from group_vars/mash_servers_all (Browse further)