From e6ecd54e724fd0a7394db2b5530aecf5929e6ffc Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 9 Oct 2022 20:42:20 +0300 Subject: [PATCH] Suppress some ansible-lint errors --- roles/matrix-postgres/tasks/import_generic_sqlite_db.yml | 4 ++-- roles/matrix-postgres/tasks/migrate_db_to_postgres.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/matrix-postgres/tasks/import_generic_sqlite_db.yml b/roles/matrix-postgres/tasks/import_generic_sqlite_db.yml index f99478dd0..897ebc2e9 100644 --- a/roles/matrix-postgres/tasks/import_generic_sqlite_db.yml +++ b/roles/matrix-postgres/tasks/import_generic_sqlite_db.yml @@ -67,7 +67,7 @@ become: false when: "matrix_postgres_service_start_result.changed | bool" -- name: Import SQLite database from {{ sqlite_database_path }} into Postgres +- name: Import SQLite database from {{ sqlite_database_path }} into Postgres # noqa name[template] ansible.builtin.command: cmd: >- {{ matrix_host_command_docker }} run @@ -83,7 +83,7 @@ register: matrix_postgres_import_generic_sqlite_db_import_result changed_when: matrix_postgres_import_generic_sqlite_db_import_result.rc == 0 -- name: Archive SQLite database ({{ sqlite_database_path }} -> {{ sqlite_database_path }}.backup) +- name: Archive SQLite database ({{ sqlite_database_path }} -> {{ sqlite_database_path }}.backup) # noqa name[template] ansible.builtin.command: cmd: "mv {{ sqlite_database_path }} {{ sqlite_database_path }}.backup" register: matrix_postgres_import_generic_sqlite_db_move_result diff --git a/roles/matrix-postgres/tasks/migrate_db_to_postgres.yml b/roles/matrix-postgres/tasks/migrate_db_to_postgres.yml index bfd91c29a..dd75fb17c 100644 --- a/roles/matrix-postgres/tasks/migrate_db_to_postgres.yml +++ b/roles/matrix-postgres/tasks/migrate_db_to_postgres.yml @@ -118,7 +118,7 @@ failed_when: false with_items: "{{ matrix_postgres_db_migration_request.systemd_services_to_stop }}" -- name: Import {{ matrix_postgres_db_migration_request.engine_old }} database from {{ matrix_postgres_db_migration_request.src }} into Postgres +- name: Import {{ matrix_postgres_db_migration_request.engine_old }} database from {{ matrix_postgres_db_migration_request.src }} into Postgres # noqa name[template] ansible.builtin.command: cmd: >- {{ matrix_host_command_docker }} run @@ -158,7 +158,7 @@ register: matrix_postgres_migrate_db_to_postgres_additional_queries_result changed_when: matrix_postgres_migrate_db_to_postgres_additional_queries_result.rc == 0 -- name: Archive {{ matrix_postgres_db_migration_request.engine_old }} database ({{ matrix_postgres_db_migration_request.src }} -> {{ matrix_postgres_db_migration_request.src }}.backup) +- name: Archive {{ matrix_postgres_db_migration_request.engine_old }} database ({{ matrix_postgres_db_migration_request.src }} -> {{ matrix_postgres_db_migration_request.src }}.backup) # noqa name[template] ansible.builtin.command: cmd: "mv {{ matrix_postgres_db_migration_request.src }} {{ matrix_postgres_db_migration_request.src }}.backup" register: matrix_postgres_migrate_db_to_postgres_move_result