mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-31 07:17:57 +01:00 
			
		
		
		
	Merge pull request #178 from eMPee584/add-service-stop
Add a task to stop services (and remove containers)
This commit is contained in:
		| @@ -1,4 +1,8 @@ | ||||
| - import_tasks: "{{ role_path }}/tasks/start.yml" | ||||
|   when: run_start | ||||
|   tags: | ||||
|     - start | ||||
|     - start | ||||
|  | ||||
| - import_tasks: "{{ role_path }}/tasks/stop.yml" | ||||
|   tags: | ||||
|     - stop | ||||
|   | ||||
							
								
								
									
										7
									
								
								roles/matrix-common-after/tasks/stop.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								roles/matrix-common-after/tasks/stop.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| --- | ||||
|  | ||||
| - name: Ensure Matrix services stopped | ||||
|   service: | ||||
|     name: "{{ item }}" | ||||
|     state: stopped | ||||
|   with_items: "{{ matrix_systemd_services_list }}" | ||||
		Reference in New Issue
	
	Block a user