mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 06:47:56 +01:00 
			
		
		
		
	Make sure matrix_user_uid and matrix_user_gid are always set
If one runs the playbook with `--tags=setup-all`, it would have been fine. But running with a specific tag (e.g. `--tags=setup-riot-web`) would have made that initialization be skipped, and the `matrix-riot-web` role would fail, due to missing variables.
This commit is contained in:
		| @@ -12,6 +12,13 @@ | ||||
|   tags: | ||||
|     - setup-all | ||||
|  | ||||
| # This needs to always run, because it populates `matrix_user_uid` and `matrix_user_gid`, | ||||
| # which are required by many other roles. | ||||
| - import_tasks: "{{ role_path }}/tasks/setup_matrix_user.yml" | ||||
|   when: run_setup|bool | ||||
|   tags: | ||||
|     - always | ||||
|  | ||||
| - import_tasks: "{{ role_path }}/tasks/setup_matrix_base.yml" | ||||
|   when: run_setup|bool | ||||
|   tags: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user