Browse Source

2 more spots to update

Kenneth Cheung 5 years ago
parent
commit
e3566b0eb3
1 changed files with 2 additions and 2 deletions
  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: