From 37391e564d4ff2e4d5b1622b0fc91a8ecce255bb Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:29:58 +0200 Subject: [PATCH] BC-8312 - fix state for External Secret for TLDraw server --- ansible/roles/tldraw-server/tasks/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ansible/roles/tldraw-server/tasks/main.yml b/ansible/roles/tldraw-server/tasks/main.yml index f8b1f6d4..954c87c1 100644 --- a/ansible/roles/tldraw-server/tasks/main.yml +++ b/ansible/roles/tldraw-server/tasks/main.yml @@ -3,12 +3,10 @@ kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" template: tldraw-server-external-secret.yml.j2 - state: "{{ 'present' if - WITH_BRANCH_MONGO_DB_MANAGEMENT is defined and WITH_BRANCH_MONGO_DB_MANAGEMENT|bool and - WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool - else 'absent'}}" + state: "{{ 'present' if WITH_BRANCH_MONGO_DB_MANAGEMENT is defined and WITH_BRANCH_MONGO_DB_MANAGEMENT|bool else 'absent'}}" when: - EXTERNAL_SECRETS_OPERATOR is defined and EXTERNAL_SECRETS_OPERATOR|bool + - WITH_TLDRAW2 is defined and WITH_TLDRAW2|bool tags: - 1password