From 49932b8f3c17c4c4db7a884658c42f9a8b0550ca Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 16 Dec 2023 09:21:31 +0200 Subject: [PATCH] Fix syntax in matrix-bridge-hookshot/tasks/reset_encryption.yml Also, this task always does work and side-effects, so it should always report changes (`changed_when: true`). --- .../custom/matrix-bridge-hookshot/tasks/reset_encryption.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml b/roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml index 6b7f61bf7..8521c3483 100644 --- a/roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml +++ b/roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml @@ -1,4 +1,5 @@ --- + - name: Resetting Hookshot's crypto store ansible.builtin.command: cmd: | @@ -9,5 +10,5 @@ --cap-drop=ALL --mount type=bind,src={{ matrix_hookshot_base_path }}/config.yml,dst=/config.yml {{ matrix_hookshot_docker_image }} - yarn start:resetcrypto - changed_when: false + yarn start:resetcrypto + changed_when: true