From df7d22c93fd4f8162866abd5eebc8a80c7374276 Mon Sep 17 00:00:00 2001 From: Ruairidh MacLeod Date: Thu, 14 Nov 2024 14:37:57 +0000 Subject: [PATCH] add smi-trigger-updates wrapper --- roles/bin/templates/bin/smi-trigger-updates | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 roles/bin/templates/bin/smi-trigger-updates diff --git a/roles/bin/templates/bin/smi-trigger-updates b/roles/bin/templates/bin/smi-trigger-updates new file mode 100755 index 0000000..773d971 --- /dev/null +++ b/roles/bin/templates/bin/smi-trigger-updates @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 +# {{ ansible_managed }} +import os + +import _smi_wrapper as wrapper + +wrapper.run_smiservices( + os.environ["SMI_SMISERVICES_INGEST_PIPELINE_CONFIG"], + single_instance=True, +)