mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 06:47:56 +01:00 
			
		
		
		
	Fix self-building for various components on Ansible < 2.8
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1070
This commit is contained in:
		| @@ -36,7 +36,8 @@ | ||||
|   docker_image: | ||||
|     name: "{{ matrix_mailer_docker_image }}" | ||||
|     source: build | ||||
|     force_source: "{{ matrix_mailer_git_pull_results.changed }}" | ||||
|     force_source: "{{ matrix_mailer_git_pull_results.changed 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_mailer_git_pull_results.changed }}" | ||||
|     build: | ||||
|       dockerfile: Dockerfile | ||||
|       path: "{{ matrix_mailer_container_image_self_build_src_files_path }}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user