浏览代码

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