From a6a32f24f72bea3b384a2b5046bf83469f1b9774 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 11 May 2023 11:23:09 +0300 Subject: [PATCH] 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 --- roles/custom/matrix-dendrite/tasks/setup_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/custom/matrix-dendrite/tasks/setup_install.yml b/roles/custom/matrix-dendrite/tasks/setup_install.yml index 2606dfea3..64c047d1c 100644 --- a/roles/custom/matrix-dendrite/tasks/setup_install.yml +++ b/roles/custom/matrix-dendrite/tasks/setup_install.yml @@ -104,6 +104,7 @@ cmd: "{{ devture_systemd_docker_base_host_command_docker }} build -t {{ matrix_dendrite_docker_image }} {{ matrix_dendrite_docker_src_files_path }}" environment: DOCKER_BUILDKIT: 1 + changed_when: true when: "matrix_dendrite_git_pull_results.changed | bool or matrix_dendrite_docker_image_check_result.stdout == ''" - name: Ensure Dendrite container network is created