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: