Add explicit names for roles (affects their install paths)

This commit is contained in:
Slavi Pantaleev 2023-11-19 14:08:03 +02:00
parent 7f98d5cba3
commit c0595d6e44
3 changed files with 32 additions and 14 deletions

View File

@ -3272,6 +3272,7 @@ devture_postgres_backup_connection_username: "{{ devture_postgres_connection_use
devture_postgres_backup_connection_password: "{{ devture_postgres_connection_password if devture_postgres_enabled else '' }}" devture_postgres_backup_connection_password: "{{ devture_postgres_connection_password if devture_postgres_enabled else '' }}"
devture_postgres_backup_postgres_data_path: "{{ devture_postgres_data_path if devture_postgres_enabled else '' }}" devture_postgres_backup_postgres_data_path: "{{ devture_postgres_data_path if devture_postgres_enabled else '' }}"
devture_postgres_backup_postgres_role_include_name: galaxy/postgres
devture_postgres_backup_databases: "{{ devture_postgres_managed_databases | map(attribute='name') if devture_postgres_enabled else [] }}" devture_postgres_backup_databases: "{{ devture_postgres_managed_databases | map(attribute='name') if devture_postgres_enabled else [] }}"

View File

@ -5,42 +5,58 @@
name: auxiliary name: auxiliary
- src: git+https://gitlab.com/etke.cc/roles/backup_borg.git - src: git+https://gitlab.com/etke.cc/roles/backup_borg.git
version: v1.2.6-1.8.4-0 version: v1.2.6-1.8.4-0
name: backup_borg
- src: git+https://github.com/devture/com.devture.ansible.role.container_socket_proxy.git - src: git+https://github.com/devture/com.devture.ansible.role.container_socket_proxy.git
version: v0.1.1-2 version: v0.1.1-2
name: container_socket_proxy
- src: git+https://github.com/devture/com.devture.ansible.role.docker_sdk_for_python.git - src: git+https://github.com/devture/com.devture.ansible.role.docker_sdk_for_python.git
version: 129c8590e106b83e6f4c259649a613c6279e937a version: 129c8590e106b83e6f4c259649a613c6279e937a
name: docker_sdk_for_python
- src: git+https://github.com/devture/com.devture.ansible.role.playbook_help.git - src: git+https://github.com/devture/com.devture.ansible.role.playbook_help.git
version: c1f40e82b4d6b072b6f0e885239322bdaaaf554f version: c1f40e82b4d6b072b6f0e885239322bdaaaf554f
name: playbook_help
- src: git+https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages.git - src: git+https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages.git
version: 9b4b088c62b528b73a9a7c93d3109b091dd42ec6 version: 9b4b088c62b528b73a9a7c93d3109b091dd42ec6
name: playbook_runtime_messages
- src: git+https://github.com/devture/com.devture.ansible.role.playbook_state_preserver.git - src: git+https://github.com/devture/com.devture.ansible.role.playbook_state_preserver.git
version: ff2fd42e1c1a9e28e3312bbd725395f9c2fc7f16 version: ff2fd42e1c1a9e28e3312bbd725395f9c2fc7f16
name: playbook_state_preserver
- src: git+https://github.com/devture/com.devture.ansible.role.postgres.git - src: git+https://github.com/devture/com.devture.ansible.role.postgres.git
version: v16.1-0 version: v16.1-0
name: postgres
- src: git+https://github.com/devture/com.devture.ansible.role.postgres_backup.git - src: git+https://github.com/devture/com.devture.ansible.role.postgres_backup.git
version: 5dd334c0b7f0a2795023ec9ece747c3ea3da06f2 version: 5dd334c0b7f0a2795023ec9ece747c3ea3da06f2
name: postgres_backup
- src: git+https://github.com/devture/com.devture.ansible.role.systemd_docker_base.git - src: git+https://github.com/devture/com.devture.ansible.role.systemd_docker_base.git
version: v1.0.0-0 version: v1.0.0-0
name: systemd_docker_base
- src: git+https://github.com/devture/com.devture.ansible.role.systemd_service_manager.git - src: git+https://github.com/devture/com.devture.ansible.role.systemd_service_manager.git
version: v1.0.0-1 version: v1.0.0-1
name: systemd_service_manager
- src: git+https://github.com/devture/com.devture.ansible.role.timesync.git - src: git+https://github.com/devture/com.devture.ansible.role.timesync.git
version: v1.0.0-0 version: v1.0.0-0
name: timesync
- src: git+https://github.com/devture/com.devture.ansible.role.traefik.git - src: git+https://github.com/devture/com.devture.ansible.role.traefik.git
version: v2.10.5-2 version: v2.10.5-2
name: traefik
- src: git+https://github.com/devture/com.devture.ansible.role.traefik_certs_dumper.git - src: git+https://github.com/devture/com.devture.ansible.role.traefik_certs_dumper.git
version: v2.8.1-0 version: v2.8.1-0
name: traefik_certs_dumper
- src: git+https://gitlab.com/etke.cc/roles/etherpad.git - src: git+https://gitlab.com/etke.cc/roles/etherpad.git
version: v1.9.3-0 version: v1.9.3-0
name: etherpad
- src: git+https://github.com/geerlingguy/ansible-role-docker - src: git+https://github.com/geerlingguy/ansible-role-docker
version: 7.0.2 version: 7.0.2
name: geerlingguy.docker name: docker
- src: git+https://gitlab.com/etke.cc/roles/grafana.git - src: git+https://gitlab.com/etke.cc/roles/grafana.git
version: v10.2.1-0 version: v10.2.1-0
name: grafana
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-jitsi.git - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-jitsi.git
version: v9078-1 version: v9078-1
name: jitsi name: jitsi
- src: git+https://gitlab.com/etke.cc/roles/ntfy.git - src: git+https://gitlab.com/etke.cc/roles/ntfy.git
version: v2.7.0-2 version: v2.7.0-2
name: ntfy
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus.git - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus.git
version: v2.48.0-0 version: v2.48.0-0
name: prometheus name: prometheus
@ -52,3 +68,4 @@
name: prometheus_postgres_exporter name: prometheus_postgres_exporter
- src: git+https://gitlab.com/etke.cc/roles/redis.git - src: git+https://gitlab.com/etke.cc/roles/redis.git
version: v7.2.0-0 version: v7.2.0-0
name: redis

View File

@ -5,14 +5,14 @@
roles: roles:
# Most of the roles below are not distributed with the playbook, but downloaded separately using `ansible-galaxy` via the `just roles` command (see `justfile`). # Most of the roles below are not distributed with the playbook, but downloaded separately using `ansible-galaxy` via the `just roles` command (see `justfile`).
- role: galaxy/com.devture.ansible.role.playbook_help - role: galaxy/playbook_help
- role: galaxy/com.devture.ansible.role.systemd_docker_base - role: galaxy/systemd_docker_base
- role: custom/matrix_playbook_migration - role: custom/matrix_playbook_migration
- when: matrix_playbook_docker_installation_enabled | bool - when: matrix_playbook_docker_installation_enabled | bool
role: galaxy/geerlingguy.docker role: galaxy/docker
vars: vars:
docker_install_compose: false docker_install_compose: false
docker_install_compose_plugin: false docker_install_compose_plugin: false
@ -23,7 +23,7 @@
- install-all - install-all
- when: devture_docker_sdk_for_python_installation_enabled | bool - when: devture_docker_sdk_for_python_installation_enabled | bool
role: galaxy/com.devture.ansible.role.docker_sdk_for_python role: galaxy/docker_sdk_for_python
tags: tags:
- setup-docker - setup-docker
- setup-all - setup-all
@ -31,7 +31,7 @@
- install-all - install-all
- when: devture_timesync_installation_enabled | bool - when: devture_timesync_installation_enabled | bool
role: galaxy/com.devture.ansible.role.timesync role: galaxy/timesync
tags: tags:
- setup-timesync - setup-timesync
- setup-all - setup-all
@ -42,7 +42,7 @@
- custom/matrix-dynamic-dns - custom/matrix-dynamic-dns
- custom/matrix-mailer - custom/matrix-mailer
- role: galaxy/com.devture.ansible.role.postgres - role: galaxy/postgres
- galaxy/redis - galaxy/redis
- custom/matrix-corporal - custom/matrix-corporal
@ -121,28 +121,28 @@
- role: galaxy/auxiliary - role: galaxy/auxiliary
- role: galaxy/com.devture.ansible.role.postgres_backup - role: galaxy/postgres_backup
- role: galaxy/backup_borg - role: galaxy/backup_borg
- custom/matrix-user-creator - custom/matrix-user-creator
- custom/matrix-common-after - custom/matrix-common-after
- role: galaxy/com.devture.ansible.role.container_socket_proxy - role: galaxy/container_socket_proxy
- role: galaxy/com.devture.ansible.role.traefik - role: galaxy/traefik
- role: galaxy/com.devture.ansible.role.traefik_certs_dumper - role: galaxy/traefik_certs_dumper
- when: devture_systemd_service_manager_enabled | bool - when: devture_systemd_service_manager_enabled | bool
role: galaxy/com.devture.ansible.role.systemd_service_manager role: galaxy/systemd_service_manager
# This is pretty much last, because we want it to better serve as a "last known good configuration". # This is pretty much last, because we want it to better serve as a "last known good configuration".
# See: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2217#issuecomment-1301487601 # See: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2217#issuecomment-1301487601
- when: devture_playbook_state_preserver_enabled | bool - when: devture_playbook_state_preserver_enabled | bool
role: galaxy/com.devture.ansible.role.playbook_state_preserver role: galaxy/playbook_state_preserver
tags: tags:
- setup-all - setup-all
- install-all - install-all
- role: galaxy/com.devture.ansible.role.playbook_runtime_messages - role: galaxy/playbook_runtime_messages