diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e3dd061a1d953f23f6da155e5bcb8656947f0665..31558ff76c667a1b2085306261d5a22c4e01a577 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,4 +39,5 @@ 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..."
+    - source ansible/bin/activate
     - ansible-playbook site.yml -b -l localhost