mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-31 23:37:56 +01:00 
			
		
		
		
	Fix problem detecting matrix-nginx-proxy state when it is not installed
This commit is contained in:
		| @@ -28,7 +28,7 @@ | ||||
|  | ||||
| - name: Ensure matrix-nginx-proxy is stopped (if previously installed & started) | ||||
|   service: name=matrix-nginx-proxy state=stopped | ||||
|   when: "matrix_nginx_proxy_state.status.ActiveState == 'active'" | ||||
|   when: "matrix_nginx_proxy_state.status.ActiveState|default('missing') == 'active'" | ||||
|  | ||||
| - name: Ensure SSL certificates are marked as wanted in acmetool | ||||
|   shell: >- | ||||
| @@ -40,7 +40,7 @@ | ||||
|  | ||||
| - name: Ensure matrix-nginx-proxy is started (if previously installed & started) | ||||
|   service: name=matrix-nginx-proxy state=started | ||||
|   when: "matrix_nginx_proxy_state.status.ActiveState == 'active'" | ||||
|   when: "matrix_nginx_proxy_state.status.ActiveState|default('missing') == 'active'" | ||||
|  | ||||
| - name: Ensure periodic SSL renewal cronjob configured | ||||
|   template: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user