Bladeren bron

Update validate_config.yml for migration: adopt a common instruction to variables which should be removed

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4146/head
Suguru Hirahara 1 jaar geleden
bovenliggende
commit
cdc12e0ecb
Geen bekende sleutel gevonden voor deze handtekening in de database GPG sleutel-ID: E4F9743DAB4B7B75
1 gewijzigde bestanden met toevoegingen van 8 en 4 verwijderingen
  1. +8
    -4
      roles/custom/matrix_playbook_migration/tasks/validate_config.yml

+ 8
- 4
roles/custom/matrix_playbook_migration/tasks/validate_config.yml Bestand weergeven

@@ -425,8 +425,10 @@
ansible.builtin.fail: ansible.builtin.fail:
msg: >- msg: >-
The matrix-nginx-proxy role that used to be part of this playbook has been removed. The matrix-nginx-proxy role that used to be part of this playbook has been removed.
You should remove all its variables (`matrix_nginx_proxy_*`) from your vars.yml file.
We found usage of the following variables: {{ matrix_playbook_migration_nginx_proxy_migration_vars.keys() | join(', ') }}

You should remove all its variables (`matrix_nginx_proxy_*`) from your configuration file (vars.yml).

The following variables in your configuration should be renamed: {{ matrix_playbook_migration_nginx_proxy_migration_vars.keys() | join(', ') }}
when: "matrix_playbook_migration_nginx_proxy_migration_vars | length > 0" when: "matrix_playbook_migration_nginx_proxy_migration_vars | length > 0"


- when: matrix_playbook_migration_matrix_ssl_leftover_variable_checks_enabled | bool - when: matrix_playbook_migration_matrix_ssl_leftover_variable_checks_enabled | bool
@@ -439,8 +441,10 @@
ansible.builtin.fail: ansible.builtin.fail:
msg: >- msg: >-
The matrix-nginx-proxy role that used to be part of this playbook has been removed. The matrix-nginx-proxy role that used to be part of this playbook has been removed.
You should remove all its variables (`matrix_ssl_*`) from your vars.yml file.
We found usage of the following variables: {{ matrix_playbook_migration_ssl_migration_vars.keys() | join(', ') }}

You should remove all its variables (`matrix_ssl_*`) from your configuration file (vars.yml).

The following variables in your configuration should be renamed: {{ matrix_playbook_migration_ssl_migration_vars.keys() | join(', ') }}
when: "matrix_playbook_migration_ssl_migration_vars | length > 0" when: "matrix_playbook_migration_ssl_migration_vars | length > 0"


- block: - block:


Laden…
Annuleren
Opslaan