Explorar o código

ansible version 1.2 and earlier need the web ui

Chris Mague %!s(int64=6) %!d(string=hai) anos
pai
achega
19c8d8b2df
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tasks/binary_install.yml

+ 2 - 0
tasks/binary_install.yml

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