Kenneth Cheung пре 5 година
родитељ
комит
e3566b0eb3
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      tasks/binary_install.yml

+ 2 - 2
tasks/binary_install.yml

@@ -27,7 +27,7 @@
     dest: "{{cloud_consul_download_dir}}/{{cloud_consul_version}}_web_ui.zip"
   tags:
     - install
-  when: cloud_consul_version | version_compare('1.2', '<') 
+  when: cloud_consul_version is version_compare('1.2', '<') 
 
 - name: Ensure Consul Install Dir exists
   file:
@@ -68,7 +68,7 @@
     remote_src: True
   tags:
     - install
-  when: cloud_consul_version | version_compare('1.2', '<')
+  when: cloud_consul_version is version_compare('1.2', '<')
 
 - name: ensures consul command has the right permissions
   file: