diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 72cdf105feb688ccfad5a36221ecda5524cde4dc..b76c343d2b06b37118f059f97ca1fdc11e000834 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,11 @@
 check_validity:
-    - stage: test
-    - script:
-      - python make.py newbox test
-      - cd test
-      - python ../make.py meta
-      - grep "1.0" metadata.json
-      - grep "example" metadata.json
-      - vagrant up
-      - vagrant destroy -f
-      - cd ..
+  stage: test
+  script:
+    - python make.py newbox test
+    - cd test
+    - python ../make.py meta
+    - grep "1.0" metadata.json
+    - grep "example" metadata.json
+    - vagrant up
+    - vagrant destroy -f
+    - cd ..
diff --git a/make.py b/make.py
index f5f97cdb25d21a45281d1644d7ed1e3d268261c0..84c462fff8a1c1aeb45fc819fae45a73ca0a289b 100644
--- a/make.py
+++ b/make.py
@@ -101,8 +101,8 @@ build_$BOX:
 
         if len(gitlabci) == 0:
             gitlabci = ['''check_validity:
-  - stage: test
-  - script:
+  stage: test
+  script:
     - python make.py newbox test
     - cd test
     - python ../make.py meta