Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						2d051679c0 
					 
					
						
						
							
							Ensure instance_map.port is numeric  
						
						... 
						
						
						
						Fixup related to https://github.com/matrix-org/synapse/pull/15431  
						
						
					 
					
						2023-04-25 15:26:30 +03:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						632026513e 
					 
					
						
						
							
							Add matrix_synapse_uid, matrix_synapse_gid and matrix_synapse_username  
						
						
						
						
					 
					
						2023-02-17 17:16:50 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						424f79df3a 
					 
					
						
						
							
							Replace synapse.app.pusher and synapse.app.federation_sender with synapse.app.generic_worker  
						
						... 
						
						
						
						Related to https://github.com/matrix-org/synapse/commit/3479599387164aca2613e88d169719  
						
						
					 
					
						2023-01-17 15:55:57 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						663a17ea10 
					 
					
						
						
							
							Fix ansible-lint-reported errors  
						
						
						
						
					 
					
						2022-11-24 17:39:34 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						c37cf42427 
					 
					
						
						
							
							Do not delete and re-create Synapse worker configs needlessly  
						
						... 
						
						
						
						We had checks to avoid stopping/deleting systemd services for workers
that used to exist and will continue to exist, but we were deleting
config files for workers each time.. Only to recreate them again later.
This lead to:
- too many misleading "changed" tasks
- too much unnecessary work
- potential failures during playbook execution possibly leaving the
  system in a bad state (no worker config files) 
						
						
					 
					
						2022-11-24 17:06:31 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						2e7b5c7b02 
					 
					
						
						
							
							Untangle the setup import/include mess in matrix-synapse  
						
						
						
						
					 
					
						2022-11-24 16:27:11 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						735bacca89 
					 
					
						
						
							
							Do not run matrix-nginx-proxy config injection tasks unless necessary  
						
						... 
						
						
						
						These `init.yml` (now `inject_into_nginx_proxy.yml`) tasks do not need
to `always` run. They only need to run for `setup-all` and
`setup-nginx-proxy`. Unless we're dealing with these 2 tags, we can
spare ourselves a lot of work.
This patch also moves the `when` statement from `init.yml` into
`main.yml` in an effort to further optimize things by potentially
avoiding the extra file include. 
						
						
					 
					
						2022-11-23 15:52:58 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						ccfaefa4d2 
					 
					
						
						
							
							Add service groups  
						
						
						
						
					 
					
						2022-11-23 11:45:47 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						93d4f8d425 
					 
					
						
						
							
							Replace matrix-common-after systemd service management with com.devture.ansible.role.systemd_service_manager  
						
						
						
						
					 
					
						2022-11-23 11:45:46 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						360e643f84 
					 
					
						
						
							
							Add service priorities - try to stop/start them in an optimal order  
						
						
						
						
					 
					
						2022-11-23 11:45:46 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						51674887ff 
					 
					
						
						
							
							Fix Synapse pusher_instances not being populated correctly  
						
						... 
						
						
						
						This caused push notifications to be delivered more than once
if multiple `pusher` workers were enabled. 
						
						
					 
					
						2022-11-08 17:40:44 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						835d2e9581 
					 
					
						
						
							
							matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)  
						
						
						
						
					 
					
						2022-11-04 16:38:38 +02:00 
						 
				 
			
				
					
						
							
							
								Slavi Pantaleev 
							
						 
					 
					
						
						
							
						
						410a915a8a 
					 
					
						
						
							
							Move roles/matrix* to roles/custom/matrix*  
						
						... 
						
						
						
						This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy 
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy 
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres 
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base 
- https://github.com/devture/com.devture.ansible.role.timesync 
- https://github.com/devture/com.devture.ansible.role.vars_preserver 
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages 
- https://github.com/devture/com.devture.ansible.role.playbook_help 
We just need to migrate to those. 
						
						
					 
					
						2022-11-03 09:11:29 +02:00