From c1dd545f6515d0069afb03e3d925b8b04c855146 Mon Sep 17 00:00:00 2001
From: Neda Moeini <neda.moeini@geant.org>
Date: Wed, 22 Nov 2023 15:59:31 +0100
Subject: [PATCH] Fixed version

---
 Dockerfile | 2 +-
 setup.py   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 815515a..16b30f9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,7 @@ RUN pip install \
     --extra-index-url https://artifactory.software.geant.org/artifactory/api/pypi/geant-swd-pypi/simple \
     --target /app \
     goat-lso==${ARTIFACT_VERSION} && \
-    pip install ansible && \
+    pip install ansible~=8.1.0 && \
     ansible-galaxy collection install  \
                    community.general  \
                    juniper.device \
diff --git a/setup.py b/setup.py
index e69eadf..24315c2 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ setup(
         "jsonschema~=4.18.0",
         "fastapi~=0.100.0",
         "pydantic~=2.0.2",
-        "ansible~=9.0.1",
+        "ansible~=8.1.0",
         "requests~=2.31.0",
         "uvicorn~=0.22.0",
         "ncclient~=0.6.13",
-- 
GitLab