Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

89 lines
5.3 KiB

  1. # SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
  2. # SPDX-FileCopyrightText: 2024 Suguru Hirahara
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. # Controls if (`matrix_prometheus_node_exporter` -> `prometheus_node_exporter`) validation will run.
  7. matrix_playbook_migration_matrix_prometheus_node_exporter_migration_validation_enabled: true
  8. # Controls if (`matrix_prometheus_postgres_exporter` -> `prometheus_postgres_exporter`) validation will run.
  9. matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_validation_enabled: true
  10. # Controls if (`matrix_backup_borg` -> `backup_borg`) validation will run.
  11. matrix_playbook_migration_matrix_backup_borg_migration_validation_enabled: true
  12. # Controls if (`matrix_grafana` -> `grafana`) validation will run.
  13. matrix_playbook_migration_matrix_grafana_migration_validation_enabled: true
  14. # Controls if (`matrix_ntfy` -> `ntfy`) validation will run.
  15. matrix_playbook_migration_matrix_ntfy_migration_validation_enabled: true
  16. # Controls if (`matrix_redis` -> `redis`) validation will run.
  17. matrix_playbook_migration_matrix_redis_migration_validation_enabled: true
  18. # Controls if (`redis` -> `valkey`) validation will run.
  19. matrix_playbook_migration_redis_valkey_migration_validation_enabled: true
  20. # Controls if (`keydb` -> `valkey`) validation will run.
  21. matrix_playbook_migration_keydb_valkey_migration_validation_enabled: true
  22. # Controls if (`matrix_etherpad` -> `etherpad`) validation will run.
  23. matrix_playbook_migration_matrix_etherpad_migration_validation_enabled: true
  24. # Controls if (`matrix_aux` -> `aux`) validation will run.
  25. matrix_playbook_migration_matrix_aux_migration_validation_enabled: true
  26. # Controls if (`matrix_jitsi` -> `jitsi`) validation will run.
  27. matrix_playbook_migration_matrix_jitsi_migration_validation_enabled: true
  28. # Controls if (`matrix_bot_postmoogle_` -> `matrix_postmoogle_`) validation will run.
  29. matrix_playbook_migration_matrix_postmoogle_migration_validation_enabled: true
  30. # Controls if the old apt repository (likely without a `signed-by` option) on Debian-based systems will be removed.
  31. #
  32. # Older versions of the Docker role (5.x, 6.x) used to install a repository at a path like: `/etc/apt/sources.list.d/download_docker_com_linux_*`
  33. # For 6.x, the repository included a `signed-by` option, but for earlier versions it did not.
  34. #
  35. # New versions of the Docker role (7.0+) install a new apt repository with `signed-by` option to a different path (`/etc/apt/sources.list.d/docker.list`),
  36. # but if a non-signed-by repository exists at the old path, a conflict will arise.
  37. #
  38. # Our workaround is to just delete the old repository file. Later, when the Docker role runs, it will install a new one at the new path.
  39. #
  40. # See:
  41. # - https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2999
  42. # - https://github.com/geerlingguy/ansible-role-docker/pull/410
  43. matrix_playbook_migration_debian_signedby_migration_enabled: true
  44. matrix_playbook_migration_debian_signedby_migration_repository_path: "/etc/apt/sources.list.d/download_docker_com_linux_{{ ansible_distribution | lower }}.list"
  45. # Controls if the old apt repository for Docker (`signed-by=/etc/apt/trusted.gpg.d/docker.asc`) will be removed,
  46. # so that the Docker role (7.2.0+) can install a new non-conflicting one (`signed-by=/etc/apt/keyrings/docker.asc`).
  47. #
  48. # Without this migration, the role would choke at the "galaxy/docker : Add Docker repository." task when trying to add the repository again:
  49. # > An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt_pkg.Error: E:Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/ubuntu/ focal: /etc/apt/trusted.gpg.d/docker.asc != /etc/apt/keyrings/docker.asc, E:The list of sources could not be read.
  50. #
  51. # Related to: https://github.com/geerlingguy/ansible-role-docker/pull/436
  52. matrix_playbook_migration_docker_trusted_gpg_d_migration_enabled: true
  53. matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path: "/etc/apt/sources.list.d/docker.list"
  54. # Controls if variable transition checks (related to the matrix-nginx-proxy elimination) will run.
  55. # If you'd like to keep some `matrix_nginx_proxy` and other variables around and not be warned about them, disable this.
  56. # Note: this is not just about `matrix_nginx_proxy_*` variables, but about various other variables that were removed
  57. # during the matrix-nginx-proxy elimination.
  58. matrix_playbook_migration_matrix_nginx_proxy_elimination_variable_transition_checks_enabled: true
  59. # Controls if (`matrix_nginx_proxy`) leftover variable checks will run.
  60. # If you'd like to keep some `matrix_nginx_proxy` variables around and not be warned about them, disable this.
  61. matrix_playbook_migration_matrix_nginx_proxy_leftover_variable_validation_checks_enabled: true
  62. # Controls if (`matrix_ssl_`) leftover variable checks will run.
  63. matrix_playbook_migration_matrix_ssl_leftover_variable_checks_enabled: true
  64. # Controls whether this role will delete old files left over from `matrix-nginx-proxy`.
  65. # Regardless of this value, if discovered, a `matrix-nginx-proxy.service` systemd service will be stopped and removed.
  66. matrix_playbook_migration_matrix_nginx_proxy_uninstallation_enabled: true
  67. # Controls whether this role will try to detect and clean up the /matrix/ssl files.
  68. matrix_playbook_migration_matrix_ssl_uninstallation_enabled: true