diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 874618f70123e1fa27cee4469773cb74ff5a36d9..9a7a95065361b9567d6763b196aa649b6eec0a8d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -81,8 +81,8 @@ build_cluster_cicd:
   script:
     - whoami
     - apt update
-    - apt upgrade
-    - apt install python3-pip
+    - apt -y upgrade
+    - apt -y install python3-pip
     - pip3 install python-cinderclient python-keystoneclient python-novaclient python-openstackclient PyYAML ansible
     - echo "create stage"
     - source ./$NECTAR_ALLOCATION-openrc.sh
@@ -120,8 +120,8 @@ ansible_create_cluster_stage:
   script:
     - whoami
     - apt update
-    - apt upgrade
-    - apt install python3-pip
+    - apt -y upgrade
+    - apt -y install python3-pip
     - pip3 install python-cinderclient python-keystoneclient python-novaclient python-openstackclient PyYAML ansible
     - cd CICD
     - pwd