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:
		| @@ -28,7 +28,9 @@ | ||||
|               systemd_services_to_stop: ['matrix-go-skype-bridge.service'] | ||||
|               pgloader_options: ['--with "quote identifiers"'] | ||||
|  | ||||
|         - 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_go_skype_bridge_requires_restart: true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user