Преглед на файлове

fixed jinja var expansion

Grega Bremec преди 2 години
родител
ревизия
186c6c3612
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 3
      roles/fix-operators/tasks/main.yml

+ 1 - 3
roles/fix-operators/tasks/main.yml

@@ -141,7 +141,7 @@
     or
       (op_catalog.resources is defined and
       (op_catalog.resources | length) > 0 and
-      ((op_catalog.resources[0].spec.image != "{{ catalog_main_image }}") or
+      ((op_catalog.resources[0].spec.image != catalog_main_image) or
         (op_catalog.resources[0].spec.secrets is not defined) or
         (op_catalog.resources[0].spec.secrets != ["catalogsecret"])))
 
@@ -164,8 +164,6 @@
         sourceType: "grpc"
   register: op_catalog_modified
 
-- debug: var=op_catalog_modified
-
 - name: Ensure the RHSSO catalog source is there as well
   k8s:
     kubeconfig: tmp/kubeconfig-ocp4