From 1cb3db687a43cb0fa065beaa2c22cf7f80851a0a Mon Sep 17 00:00:00 2001 From: Tyler Gu Date: Tue, 13 Aug 2024 01:07:12 -0500 Subject: [PATCH] Bump tool version in Ansible script Signed-off-by: Tyler Gu --- scripts/ansible/configure.yaml | 4 ++-- scripts/ansible/go.yaml | 4 ++-- scripts/ansible/kubectl.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/ansible/configure.yaml b/scripts/ansible/configure.yaml index 385e6c5d2f..ce0f1f6143 100644 --- a/scripts/ansible/configure.yaml +++ b/scripts/ansible/configure.yaml @@ -25,8 +25,8 @@ - name: Install kubectl import_playbook: kubectl.yaml -# - name: Install helm -# import_playbook: helm.yaml +- name: Install helm + import_playbook: helm.yaml - name: Install sysctl import_playbook: sysctl.yaml diff --git a/scripts/ansible/go.yaml b/scripts/ansible/go.yaml index d9aaa612f7..b2d8d9cb6e 100644 --- a/scripts/ansible/go.yaml +++ b/scripts/ansible/go.yaml @@ -18,9 +18,9 @@ debug: msg: "Home dir is {{ home.stdout }}" - - name: Extract go1.18.2.linux-amd64.tar.gz into /usr/local/go + - name: Extract go1.22.6.linux-amd64.tar.gz into /usr/local/go ansible.builtin.unarchive: - src: https://golang.org/dl/go1.18.2.linux-amd64.tar.gz + src: https://go.dev/dl/go1.22.6.linux-amd64.tar.gz dest: /usr/local remote_src: yes diff --git a/scripts/ansible/kubectl.yaml b/scripts/ansible/kubectl.yaml index 166941a7f4..13df0f5045 100644 --- a/scripts/ansible/kubectl.yaml +++ b/scripts/ansible/kubectl.yaml @@ -5,7 +5,7 @@ tasks: - name: download kubectl - shell: curl -LO https://dl.k8s.io/release/v1.22.9/bin/linux/amd64/kubectl + shell: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" - name: install kubectl shell: install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl \ No newline at end of file