Przeglądaj źródła

ansible version 1.2 and earlier need the web ui

Chris Mague 6 lat temu
rodzic
commit
19c8d8b2df
1 zmienionych plików z 2 dodań i 0 usunięć
  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: