Procházet zdrojové kódy

ansible version 1.2 and earlier need the web ui

Chris Mague před 6 roky
rodič
revize
19c8d8b2df
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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: