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