mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 23:07:57 +01:00 
			
		
		
		
	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:
		| @@ -27,7 +27,9 @@ | ||||
|               engine_old: 'sqlite' | ||||
|               systemd_services_to_stop: ['matrix-mautrix-hangouts.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_mautrix_hangouts_requires_restart: true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user