Suppress some ansible-lint errors
This commit is contained in:
parent
1be8f8b0ba
commit
e6ecd54e72
|
@ -67,7 +67,7 @@
|
||||||
become: false
|
become: false
|
||||||
when: "matrix_postgres_service_start_result.changed | bool"
|
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:
|
ansible.builtin.command:
|
||||||
cmd: >-
|
cmd: >-
|
||||||
{{ matrix_host_command_docker }} run
|
{{ matrix_host_command_docker }} run
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
register: matrix_postgres_import_generic_sqlite_db_import_result
|
register: matrix_postgres_import_generic_sqlite_db_import_result
|
||||||
changed_when: matrix_postgres_import_generic_sqlite_db_import_result.rc == 0
|
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:
|
ansible.builtin.command:
|
||||||
cmd: "mv {{ sqlite_database_path }} {{ sqlite_database_path }}.backup"
|
cmd: "mv {{ sqlite_database_path }} {{ sqlite_database_path }}.backup"
|
||||||
register: matrix_postgres_import_generic_sqlite_db_move_result
|
register: matrix_postgres_import_generic_sqlite_db_move_result
|
||||||
|
|
|
@ -118,7 +118,7 @@
|
||||||
failed_when: false
|
failed_when: false
|
||||||
with_items: "{{ matrix_postgres_db_migration_request.systemd_services_to_stop }}"
|
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:
|
ansible.builtin.command:
|
||||||
cmd: >-
|
cmd: >-
|
||||||
{{ matrix_host_command_docker }} run
|
{{ matrix_host_command_docker }} run
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
register: matrix_postgres_migrate_db_to_postgres_additional_queries_result
|
register: matrix_postgres_migrate_db_to_postgres_additional_queries_result
|
||||||
changed_when: matrix_postgres_migrate_db_to_postgres_additional_queries_result.rc == 0
|
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:
|
ansible.builtin.command:
|
||||||
cmd: "mv {{ matrix_postgres_db_migration_request.src }} {{ matrix_postgres_db_migration_request.src }}.backup"
|
cmd: "mv {{ matrix_postgres_db_migration_request.src }} {{ matrix_postgres_db_migration_request.src }}.backup"
|
||||||
register: matrix_postgres_migrate_db_to_postgres_move_result
|
register: matrix_postgres_migrate_db_to_postgres_move_result
|
||||||
|
|
Loading…
Reference in a new issue