Commit graph

8 commits

Author SHA1 Message Date
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
551ab90f84 Upgrade playbook_help
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2448
2024-01-23 08:59:24 +02:00
Slavi Pantaleev
dd531b19f4 Add exim-relay service 2024-01-06 13:03:08 +02:00
Aine
6bc5602607
add system cleanup role 2023-12-09 18:58:15 +02:00
moanos
12a8b63bbd feat: Add ansible-semaphore playbook files 2023-12-06 16:18:42 +01: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 setup.all.yml (Browse further)