diff --git a/Dockerfile b/Dockerfile index 815515a02fce58d92114dc3a95b9dc4726010d15..16b30f96cbde4b51f4708cbba0688006b8b8b174 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 e69eadf56b2ebb092e79e011639b21e349a88d30..24315c22f4fc64bd2ade4886cdffe2f61f5f8910 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",