Replace import_role calls with include_role calls

development
Slavi Pantaleev 2 years ago
parent 4bb3a38de6
commit 910cd9adf0

@ -9,7 +9,7 @@
Consider setting `matrix_backup_borg_version` to your Postgres version manually. Consider setting `matrix_backup_borg_version` to your Postgres version manually.
when: not devture_postgres_enabled when: not devture_postgres_enabled
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: detect_existing_postgres_version tasks_from: detect_existing_postgres_version

@ -20,7 +20,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-bot-buscarron.service'] systemd_services_to_stop: ['matrix-bot-buscarron.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -20,7 +20,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-bot-honoroit.service'] systemd_services_to_stop: ['matrix-bot-honoroit.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -21,7 +21,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-bot-matrix-reminder-bot.service'] systemd_services_to_stop: ['matrix-bot-matrix-reminder-bot.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -17,7 +17,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-bot-postmoogle.service'] systemd_services_to_stop: ['matrix-bot-postmoogle.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -21,7 +21,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-appservice-discord.service'] systemd_services_to_stop: ['matrix-appservice-discord.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -1,6 +1,6 @@
--- ---
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: custom/matrix-base name: custom/matrix-base
tasks_from: ensure_openssl_installed tasks_from: ensure_openssl_installed

@ -22,7 +22,7 @@
systemd_services_to_stop: ['matrix-go-skype-bridge.service'] systemd_services_to_stop: ['matrix-go-skype-bridge.service']
pgloader_options: ['--with "quote identifiers"'] pgloader_options: ['--with "quote identifiers"']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -1,6 +1,6 @@
--- ---
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: custom/matrix-base name: custom/matrix-base
tasks_from: ensure_openssl_installed tasks_from: ensure_openssl_installed

@ -22,7 +22,7 @@
systemd_services_to_stop: ['matrix-mautrix-discord.service'] systemd_services_to_stop: ['matrix-mautrix-discord.service']
pgloader_options: ['--with "quote identifiers"'] pgloader_options: ['--with "quote identifiers"']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -21,7 +21,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mautrix-facebook.service'] systemd_services_to_stop: ['matrix-mautrix-facebook.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -21,7 +21,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mautrix-googlechat.service'] systemd_services_to_stop: ['matrix-mautrix-googlechat.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -21,7 +21,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mautrix-hangouts.service'] systemd_services_to_stop: ['matrix-mautrix-hangouts.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -21,7 +21,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mautrix-telegram.service'] systemd_services_to_stop: ['matrix-mautrix-telegram.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -22,7 +22,7 @@
systemd_services_to_stop: ['matrix-mautrix-whatsapp.service'] systemd_services_to_stop: ['matrix-mautrix-whatsapp.service']
pgloader_options: ['--with "quote identifiers"'] pgloader_options: ['--with "quote identifiers"']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -55,7 +55,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mx-puppet-discord.service'] systemd_services_to_stop: ['matrix-mx-puppet-discord.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -53,7 +53,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mx-puppet-groupme.service'] systemd_services_to_stop: ['matrix-mx-puppet-groupme.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -21,7 +21,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mx-puppet-instagram.service'] systemd_services_to_stop: ['matrix-mx-puppet-instagram.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -49,7 +49,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mx-puppet-slack.service'] systemd_services_to_stop: ['matrix-mx-puppet-slack.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -53,7 +53,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mx-puppet-steam.service'] systemd_services_to_stop: ['matrix-mx-puppet-steam.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -53,7 +53,7 @@
engine_old: 'sqlite' engine_old: 'sqlite'
systemd_services_to_stop: ['matrix-mx-puppet-twitter.service'] systemd_services_to_stop: ['matrix-mx-puppet-twitter.service']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -63,7 +63,7 @@
additional_psql_statements_list: "{{ matrix_dimension_pgloader_additional_psql_statements_list }}" additional_psql_statements_list: "{{ matrix_dimension_pgloader_additional_psql_statements_list }}"
additional_psql_statements_db_name: "{{ matrix_dimension_database_name }}" additional_psql_statements_db_name: "{{ matrix_dimension_database_name }}"
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -1,6 +1,6 @@
--- ---
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: custom/matrix-base name: custom/matrix-base
tasks_from: ensure_openssl_installed tasks_from: ensure_openssl_installed

@ -37,7 +37,7 @@
systemd_services_to_stop: ['matrix-ma1sd.service'] systemd_services_to_stop: ['matrix-ma1sd.service']
pgloader_options: ['--with "quote identifiers"'] pgloader_options: ['--with "quote identifiers"']
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -1,6 +1,6 @@
--- ---
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: custom/matrix-base name: custom/matrix-base
tasks_from: ensure_openssl_installed tasks_from: ensure_openssl_installed
when: "matrix_ssl_retrieval_method == 'self-signed'" when: "matrix_ssl_retrieval_method == 'self-signed'"

@ -1,7 +1,7 @@
--- ---
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: detect_existing_postgres_version tasks_from: detect_existing_postgres_version
when: 'matrix_postgres_backup_postgres_data_path != ""' when: 'matrix_postgres_backup_postgres_data_path != ""'

@ -26,7 +26,7 @@
- ALTER TABLE tokens ALTER COLUMN ex_date TYPE TIMESTAMP WITHOUT TIME ZONE; - ALTER TABLE tokens ALTER COLUMN ex_date TYPE TIMESTAMP WITHOUT TIME ZONE;
additional_psql_statements_db_name: "{{ matrix_registration_database_name }}" additional_psql_statements_db_name: "{{ matrix_registration_database_name }}"
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: galaxy/com.devture.ansible.role.postgres name: galaxy/com.devture.ansible.role.postgres
tasks_from: migrate_db_to_postgres tasks_from: migrate_db_to_postgres

@ -1,6 +1,6 @@
--- ---
- ansible.builtin.import_role: - ansible.builtin.include_role:
name: custom/matrix-base name: custom/matrix-base
tasks_from: ensure_fuse_installed tasks_from: ensure_fuse_installed

Loading…
Cancel
Save