diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 296892471c0018caeb1aad3021af272ec61a61b2..884fe0748d6e46fe4fa22b3d268d635ef82b9268 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,7 +55,7 @@ stages:          # List of stages for jobs, and their order of execution
 lint-test-job:   # This job also runs in the test stage.
   stage: test    # It can run at the same time as unit-test-job (in parallel).
   script:
-    - /home/gitlab-runner/.local/bin/ansible-lint 
+    - /home/gitlab-runner/.local/bin/ansible-lint --exclude .gitlab-ci.yml
   tags:
     - ansible
     - lab
@@ -63,7 +63,8 @@ lint-test-job:   # This job also runs in the test stage.
 install-dependencies:
   stage: setup
   script:
+     - pip intall jmespath
      - ansible-galaxy role install Juniper.junos
   tags:
     - ansible
-    - lab
\ No newline at end of file
+    - lab