diff --git a/ansible/roles/schulcloud-server-core/tasks/main.yml b/ansible/roles/schulcloud-server-core/tasks/main.yml index 89f5e60f84c..28c8a15460b 100644 --- a/ansible/roles/schulcloud-server-core/tasks/main.yml +++ b/ansible/roles/schulcloud-server-core/tasks/main.yml @@ -376,12 +376,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_TLDRAW is defined and WITH_TLDRAW|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 + - EXTERNAL_SECRETS_OPERATOR is defined and EXTERNAL_SECRETS_OPERATOR|bool + - WITH_TLDRAW is defined and WITH_TLDRAW|bool tags: - 1password