mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 09:08:56 +01:00 
			
		
		
		
	add missing retry to the apache docker image pull
This commit is contained in:
		@@ -22,6 +22,10 @@
 | 
			
		||||
        source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
 | 
			
		||||
        force_source: "{{ matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_apache_container_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
 | 
			
		||||
        force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_apache_container_force_pull }}"
 | 
			
		||||
      register: result
 | 
			
		||||
      retries: "{{ matrix_container_retries_count }}"
 | 
			
		||||
      delay: "{{ matrix_container_retries_delay }}"
 | 
			
		||||
      until: result is not failed
 | 
			
		||||
 | 
			
		||||
    # We store the password in a file and make the `htpasswd` tool read it from there,
 | 
			
		||||
    # as opposed to passing it directly on stdin (which will expose it to other processes on the server).
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user