From bfbebd73e95ac5211e7696aa2d01210ea6071e38 Mon Sep 17 00:00:00 2001 From: Szymon Szafoni Date: Thu, 30 Nov 2023 15:48:46 +0100 Subject: [PATCH] add condition --- ansible/roles/schulcloud-server-core/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/schulcloud-server-core/tasks/main.yml b/ansible/roles/schulcloud-server-core/tasks/main.yml index 6321fffae36..048da2580c8 100644 --- a/ansible/roles/schulcloud-server-core/tasks/main.yml +++ b/ansible/roles/schulcloud-server-core/tasks/main.yml @@ -120,6 +120,7 @@ kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" template: data-deletion-trigger-cronjob.yml.j2 + when: WITH_API_ADMIN is defined and WITH_API_ADMIN|bool - name: AMQPFileStorageDeployment kubernetes.core.k8s: