From 1f74ae69a427d73ae67e29939bc778c95b4aedef Mon Sep 17 00:00:00 2001
From: Neda Moeini <neda.moeini@geant.org>
Date: Wed, 22 Nov 2023 15:47:11 +0100
Subject: [PATCH] Upgrated ansible verison and updated docker file.

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

diff --git a/Dockerfile b/Dockerfile
index 28ba476..815515a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,6 +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 && \
     ansible-galaxy collection install  \
                    community.general  \
                    juniper.device \
diff --git a/setup.py b/setup.py
index 24315c2..e69eadf 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~=8.1.0",
+        "ansible~=9.0.1",
         "requests~=2.31.0",
         "uvicorn~=0.22.0",
         "ncclient~=0.6.13",
-- 
GitLab