mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 23:07:57 +01:00 
			
		
		
		
	* Rename variables matrix_bot_postmoogle_* with matrix_postmoogle_* Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> * Rename file names and references to those files Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> * Move variables block for /matrix-bridge-postmoogle Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> * Rename matrix_playbook_bot_postmoogle_ to matrix_playbook_bridge_postmoogle_ Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> * Add matrix_playbook_migration_matrix_postmoogle_migration_validation_enabled Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> * Replace an install tag example with "-bot" prefix The previous example seems to have been selected to show how components whose name contains "-bot-" needed to be specified. Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> --------- Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org> Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
		
			
				
	
	
		
			26 lines
		
	
	
		
			818 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			818 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| 
 | |
| - name: Check existence of matrix-postmoogle service
 | |
|   ansible.builtin.stat:
 | |
|     path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-postmoogle.service"
 | |
|   register: matrix_postmoogle_service_stat
 | |
| 
 | |
| - when: matrix_postmoogle_service_stat.stat.exists | bool
 | |
|   block:
 | |
|     - name: Ensure matrix-postmoogle is stopped
 | |
|       ansible.builtin.service:
 | |
|         name: matrix-postmoogle
 | |
|         state: stopped
 | |
|         enabled: false
 | |
|         daemon_reload: true
 | |
| 
 | |
|     - name: Ensure matrix-postmoogle.service doesn't exist
 | |
|       ansible.builtin.file:
 | |
|         path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-postmoogle.service"
 | |
|         state: absent
 | |
| 
 | |
|     - name: Ensure Matrix postmoogle paths don't exist
 | |
|       ansible.builtin.file:
 | |
|         path: "{{ matrix_postmoogle_base_path }}"
 | |
|         state: absent
 |