Add changed_when to Dendrite self-building task to make ansible-lint happy
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2674
This commit is contained in:
parent
1649065a4d
commit
a6a32f24f7
@ -104,6 +104,7 @@
|
|||||||
cmd: "{{ devture_systemd_docker_base_host_command_docker }} build -t {{ matrix_dendrite_docker_image }} {{ matrix_dendrite_docker_src_files_path }}"
|
cmd: "{{ devture_systemd_docker_base_host_command_docker }} build -t {{ matrix_dendrite_docker_image }} {{ matrix_dendrite_docker_src_files_path }}"
|
||||||
environment:
|
environment:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
|
changed_when: true
|
||||||
when: "matrix_dendrite_git_pull_results.changed | bool or matrix_dendrite_docker_image_check_result.stdout == ''"
|
when: "matrix_dendrite_git_pull_results.changed | bool or matrix_dendrite_docker_image_check_result.stdout == ''"
|
||||||
|
|
||||||
- name: Ensure Dendrite container network is created
|
- name: Ensure Dendrite container network is created
|
||||||
|
Loading…
Reference in New Issue
Block a user