mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 09:08:56 +01:00 
			
		
		
		
	make selfbuild be forced on (and only) git master change
This commit is contained in:
		@@ -35,17 +35,19 @@
 | 
			
		||||
    repo: https://github.com/tulir/mautrix-hangouts.git
 | 
			
		||||
    dest: "{{ matrix_mautrix_hangouts_docker_src_files_path }}"
 | 
			
		||||
    force: "yes"
 | 
			
		||||
  register: matrix_mautrix_hangouts_git_pull_results
 | 
			
		||||
  when: "matrix_mautrix_hangouts_enabled|bool and matrix_mautrix_hangouts_container_image_self_build"
 | 
			
		||||
 | 
			
		||||
- name: Ensure Mautrix Hangouts Docker image is built
 | 
			
		||||
  docker_image:
 | 
			
		||||
    name: "{{ matrix_mautrix_hangouts_docker_image }}"
 | 
			
		||||
    source: build
 | 
			
		||||
    force_source: yes
 | 
			
		||||
    build:
 | 
			
		||||
      dockerfile: Dockerfile
 | 
			
		||||
      path: "{{ matrix_mautrix_hangouts_docker_src_files_path }}"
 | 
			
		||||
      pull: yes
 | 
			
		||||
  when: "matrix_mautrix_hangouts_enabled|bool and matrix_mautrix_hangouts_container_image_self_build"
 | 
			
		||||
  when: "matrix_mautrix_hangouts_enabled|bool and matrix_mautrix_hangouts_container_image_self_build and matrix_mautrix_hangouts_git_pull_results.changed"
 | 
			
		||||
 | 
			
		||||
- name: Check if an old database file already exists
 | 
			
		||||
  stat:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user