浏览代码

quiet warning

Kenneth Cheung 5 年之前
父节点
当前提交
39f8d9b378
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tasks/cloud_configure.yml

+ 2 - 2
tasks/cloud_configure.yml

@@ -7,7 +7,7 @@
     owner: root
     group: root
     mode: "0755" 
-  when: cloud_consul_version | version_compare('1.2', '<') 
+  when: cloud_consul_version is version_compare('1.2', '<') 
 
 - name: Install the Consul Cloud Configure Script for Post 1.2
   copy:
@@ -16,7 +16,7 @@
     owner: root
     group: root
     mode: "0755"
-  when: cloud_consul_version | version_compare('1.2', '>=') 
+  when: cloud_consul_version is version_compare('1.2', '>=') 
 
 - name: Setup supervisor config
   copy: