diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1e3658c784567a7a499825dd5d82a0c020017881..56134df530c17ac5228522136063bb909509ea1b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,17 +28,18 @@ cache:
 build-job:
   stage: build
   script:
-  - echo "Installing environment..."
-  - apt-get -y update
-  - apt-get -y install python3 virtualenv python3-setuptools
-  - virtualenv -p python3 ansible
-  - source ansible/bin/activate
-  - pip install ansible
+    - echo "Installing environment..."
+    - apt-get -y update
+    - apt-get -y install python3 virtualenv python3-setuptools
+    - virtualenv -p python3 ansible
+    - source ansible/bin/activate
+    - pip install ansible
 
 unit-test-job:   # This job runs in the test stage.
   stage: test    # It only starts when the job in the build stage completes successfully.
   script:
     - echo "Running unit tests..."
+    - apt-get -y install python3
     - source ansible/bin/activate
     - which ansible-playbook
     - which python