Commit graph

1315 commits

Author SHA1 Message Date
Slavi Pantaleev
b9bc6b7bfe Upgrade Keycloak (v23.0.0-0 -> v23.0.1-0) 2023-11-29 08:43:22 +02:00
Slavi Pantaleev
bd9004e154 Upgrade Gitea (v1.21.0-0 -> v1.21.1-0) 2023-11-28 08:12:32 +02:00
Aine
427dce9b3c
update aux role; uptime kuma v1.23.7 2023-11-27 21:25:40 +02:00
moanos
0d1474e394 chore(authentik): update authentik 2023-11-27 19:37:24 +01:00
Slavi Pantaleev
daeac0c358 Upgrade MariaDB (v11.1.3-2 -> v11.1.3-3) 2023-11-26 11:06:38 +02:00
Slavi Pantaleev
0736df228e Upgrade MariaDB (v11.1.3-1 -> v11.1.3-2) 2023-11-26 10:28:31 +02:00
Slavi Pantaleev
04ef7be707 Upgrade MariaDB (v11.1.3-0 -> v11.1.3-1) 2023-11-26 09:58:32 +02:00
Slavi Pantaleev
6217c8803b Upgrade MariaDB (v10.11.4-0 -> v11.1.3-0) 2023-11-26 08:22:57 +02:00
Aine
2aaaa2e412
update aux role (support commands) 2023-11-24 12:29:44 +02:00
Slavi Pantaleev
70608b3971 Upgrade Woodpecker CI (v1.0.5-0 -> v2.0.0-0) 2023-11-24 11:29:56 +02:00
Slavi Pantaleev
bbf1727c6a Upgrade systemd_service_manager (v1.0.0-1 -> v1.0.0-2) 2023-11-24 11:29:38 +02:00
Slavi Pantaleev
0899f17007 Upgrade Keycloak (v22.0.5-0 -> v23.0.0-0) 2023-11-23 18:12:53 +02:00
Slavi Pantaleev
7bf6173efa Only optimize based on vars.yml, not on all .yml files (vault.yml, etc.) 2023-11-22 15:03:27 +02:00
Slavi Pantaleev
5d2ce5ecac Upgrade Navidrome (v0.50.0-0 -> v0.50.1-0) 2023-11-22 08:47:40 +02:00
Aine
704f993e42
restore empty activation_prefix in requirements.yml 2023-11-21 23:33:40 +02:00
Aine
d4a20da0bb
grafana v10.2.2; jitsi v9111; nextcloud v27.1.3 2023-11-21 22:04:34 +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
cbdf15440a Fix auto-restore from stored optimization state file 2023-11-20 16:41:42 +02:00
Slavi Pantaleev
7d3bae4c4b Upgrade backup-borg (v1.2.6-1.8.4-0 -> v1.2.6-1.8.5-0) 2023-11-20 16:36:34 +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
Slavi Pantaleev
31b9b08229 Add more role-specific annotations to group_vars/mash_servers_all 2023-11-20 15:55:56 +02:00
Slavi Pantaleev
ea32d5dca4 Add group_vars/mash_servers_all to .editorconfig 2023-11-20 15:55:56 +02:00
Slavi Pantaleev
7f43d87460 Add role-specific annotations to group_vars/mash_servers_all 2023-11-20 15:55:56 +02:00
moanos
4ab36a935c chore(oxitraffic): Bump version to 0.9.0 2023-11-20 12:10:21 +01:00
Slavi Pantaleev
490f01bba2 Remove debug lines 2023-11-20 11:21:28 +02:00
Slavi Pantaleev
e71a879748 Create group_vars/mash_servers based on a template (group_vars/mash_servers_all)
In the future, we'll also have optional optimization steps, which could
trim down `group_vars/mash_servers` based on the components being used.
2023-11-20 11:07:31 +02:00
Slavi Pantaleev
3273f475bb Ensure setup.yml and requirements.yml are updated when .all.yml files change 2023-11-20 11:05:18 +02:00
Slavi Pantaleev
e181d66cdf Add activation_prefix to roles in requirements file
This will be used later for optimizing the playbook based on actual
component usage.
2023-11-20 09:50:55 +02:00
Slavi Pantaleev
7c52213edc Add role-specific annotations to setup.all.yml 2023-11-20 09:40:39 +02:00
Slavi Pantaleev
f51163aae4 Upgrade Vaultwarden (v1.30.0-0 -> v1.30.1-0) 2023-11-20 09:38:41 +02:00
Aine
dea2d15594
requirements.all.yml - update order 2023-11-19 15:56:51 +02:00
Slavi Pantaleev
7a06bd9588 Create setup.yml based on a template (setup.all.yml)
In the future, we'll also have optional optimization steps, which could
trim down `setup.yml` based on the components being used.

Related to e2132a3c51 which did the same
for the `requirements.yml` file.
2023-11-19 15:25:28 +02:00
Slavi Pantaleev
c816f75930 Add requirements.yml to .gitignore 2023-11-19 14:28:16 +02:00
Slavi Pantaleev
2e9c195325 Update setup.yml to use new component names
This is an omission that should have been part of 33fd209966
2023-11-19 14:27:42 +02:00
Slavi Pantaleev
3a66d64134 Rebuild releases.opml based on new component names
This is provoked by 33fd209966
2023-11-19 14:26:57 +02:00
Slavi Pantaleev
e2132a3c51 Create requirements.yml based on a template (requirements.all.yml)
In the future, we'll also have optional optimization steps, which could
trim down `requirements.yml` based on the components being used.
2023-11-19 14:26:32 +02:00
Slavi Pantaleev
8ee20f69a6 Fix typo in .gitignores 2023-11-19 14:21:28 +02:00
Slavi Pantaleev
87b907640b Upgrade uptime-kuma (v1.23.5-0 -> v1.23.6-0) 2023-11-19 14:18:48 +02:00
Slavi Pantaleev
76b799cc53 Upgrade Jitsi (v9078-0 -> v9078-1) 2023-11-19 14:18:34 +02:00
Slavi Pantaleev
33fd209966 Add explicit names for roles (affects their install paths) 2023-11-19 14:09:18 +02:00
Slavi Pantaleev
21fa30222a Add configuration for Python files to .editorconfig 2023-11-19 09:36:58 +02:00
Slavi Pantaleev
f7b672e342 Fix comment typo 2023-11-19 09:09:25 +02:00
Slavi Pantaleev
526c30f1e5 Redo the way certain large list variables are populated to allow pre-processing
The goal here is to switch from "one large YAML statement with many ifs"
to "separate if statements".

The first doesn't lend itself to having pre-processing comments around
it and to actually pre-processing it based on these comments.

Pre-processing is a future goal I'm working toward.
The idea is that `if` statements for component X do not need to run
if you're not using component X. In the future, we should be able to
have the playbook auto-configure itself based on the components you're using
and skip a lot of unnecessary work.
This is one step toward achieving this goal.
2023-11-19 09:04:35 +02:00
moanos
6f83f2e979 chore(owncast): Bump version v0.1.1-1 -> v0.1.2-0 2023-11-18 22:53:33 +01:00
Aine
037366c921
uptime kuma v1.23.5 2023-11-17 19:49:20 +02:00
Slavi Pantaleev
b24f22d15a Upgrade Navidrome (v0.49.3-2 -> v0.50.0-0) 2023-11-17 09:45:05 +02:00