Browse Source

2 more spots to update

Kenneth Cheung 5 năm trước cách đây
mục cha
commit
e3566b0eb3
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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: