| | |
| | | tags: |
| | | - install_openshift_client_vm_packages |
| | | |
| | | |
| | | - name: Get recent version of maven |
| | | get_url: |
| | | url: http://www-eu.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz |
| | | url: https://www-us.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz |
| | | dest: /root/apache-maven.tar.gz |
| | | register: r_geturl |
| | | retries: 5 |
| | |
| | | |
| | | - name: Get S2I Executable |
| | | get_url: |
| | | url: https://github.com/openshift/source-to-image/releases/download/v1.1.10/source-to-image-v1.1.10-27f0729d-linux-amd64.tar.gz |
| | | url: https://github.com/openshift/source-to-image/releases/download/v1.1.12/source-to-image-v1.1.12-2a783420-linux-amd64.tar.gz |
| | | dest: /root/s2i.tar.gz |
| | | tags: |
| | | - install_openshift_client_vm_packages |
| | |
| | | |
| | | - name: Get community istioctl utility |
| | | get_url: |
| | | url: https://github.com/istio/istio/releases/download/1.0.0/istio-1.0.0-linux.tar.gz |
| | | dest: /root/istio-1.0.0-linux.tar.gz |
| | | url: https://github.com/istio/istio/releases/download/1.0.2/istio-1.0.2-linux.tar.gz |
| | | dest: /root/istio-1.0.2-linux.tar.gz |
| | | register: r_geturl |
| | | retries: 5 |
| | | delay: 20 |
| | | until: r_geturl is succeeded |
| | | tags: |
| | | - install_openshift_client_vm_packages |
| | | |
| | | - name: Unarchive file |
| | | unarchive: |
| | | remote_src: yes |
| | | src: /root/istio-1.0.0-linux.tar.gz |
| | | src: /root/istio-1.0.2-linux.tar.gz |
| | | dest: /root/ |
| | | tags: |
| | | - install_openshift_client_vm_packages |
| | | |
| | | - name: Move istioctl to /usr/local/bin |
| | | copy: |
| | | remote_src: yes |
| | | src: /root/istio-1.0.0/bin/istioctl |
| | | src: /root/istio-1.0.2/bin/istioctl |
| | | dest: /usr/local/bin/istioctl |
| | | group: root |
| | | owner: root |
| | |
| | | - install_openshift_client_vm_packages |
| | | - name: Cleanup Temp Directory |
| | | file: |
| | | dest: /root/istio-1.0.0 |
| | | dest: /root/istio-1.0.2 |
| | | state: absent |
| | | tags: |
| | | - install_openshift_client_vm_packages |
| | | - name: Cleanup downloaded file |
| | | file: |
| | | dest: /root/istio-1.0.0-linux.tar.gz |
| | | dest: /root/istio-1.0.2-linux.tar.gz |
| | | state: absent |
| | | tags: |
| | | - install_openshift_client_vm_packages |