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:
		| @@ -38,7 +38,8 @@ | ||||
|       docker_image: | ||||
|         name: "{{ matrix_coturn_docker_image }}" | ||||
|         source: build | ||||
|         force_source: "{{ matrix_coturn_git_pull_results.changed }}" | ||||
|         force_source: "{{ matrix_coturn_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_coturn_git_pull_results.changed }}" | ||||
|         build: | ||||
|           dockerfile: "{{ matrix_coturn_container_image_self_build_repo_dockerfile_path }}" | ||||
|           path: "{{ matrix_coturn_docker_src_files_path }}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user