Import tasks from other roles in a better way
One that doesn't trip up ansible-lint, causing `load-failure` errors.
This commit is contained in:
@ -59,7 +59,9 @@
|
||||
engine_old: 'sqlite'
|
||||
systemd_services_to_stop: ['matrix-mx-puppet-groupme.service']
|
||||
|
||||
- ansible.builtin.import_tasks: "{{ role_path }}/../matrix-postgres/tasks/util/migrate_db_to_postgres.yml"
|
||||
- ansible.builtin.import_role:
|
||||
name: matrix-postgres
|
||||
tasks_from: migrate_db_to_postgres
|
||||
|
||||
- ansible.builtin.set_fact:
|
||||
matrix_mx_puppet_groupme_requires_restart: true
|
||||
|
Reference in New Issue
Block a user