diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6033b8ed8b805e35e27ba689b4748d6c83c7b897..8bcaf12e9c5086dbbb8a194689d8964f2b20ff74 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ -# image: python:3.10.15-bullseye -image: ansible:latest +image: python:3.10.15-bullseye +# image: ansible:latest variables: TEST_VAR_BUILD: "Building the application..." @@ -47,6 +47,7 @@ ansible-lint-test: stage: test before_script: # - apt-get update && apt-get install -y python3-pip libcups2-dev && apt-get clean && rm -rf /var/lib/apt/lists/* + - apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/* # - pip3 install -r ci-cd/requirements.txt - pip3 install -r requirements.txt script: diff --git a/requirements.txt b/requirements.txt index 7dca993d471a4b53b9f72402bb67e40d17477bbf..a42d9c6727a963012e95f3c0bdcb413731890e97 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ +ansible ansible-dev-tools ansible-lint