Skip to content

Commit 1cb3db6

Browse files
committed
Bump tool version in Ansible script
Signed-off-by: Tyler Gu <[email protected]>
1 parent 2f98340 commit 1cb3db6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

scripts/ansible/configure.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
- name: Install kubectl
2626
import_playbook: kubectl.yaml
2727

28-
# - name: Install helm
29-
# import_playbook: helm.yaml
28+
- name: Install helm
29+
import_playbook: helm.yaml
3030

3131
- name: Install sysctl
3232
import_playbook: sysctl.yaml

scripts/ansible/go.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
debug:
1919
msg: "Home dir is {{ home.stdout }}"
2020

21-
- name: Extract go1.18.2.linux-amd64.tar.gz into /usr/local/go
21+
- name: Extract go1.22.6.linux-amd64.tar.gz into /usr/local/go
2222
ansible.builtin.unarchive:
23-
src: https://golang.org/dl/go1.18.2.linux-amd64.tar.gz
23+
src: https://go.dev/dl/go1.22.6.linux-amd64.tar.gz
2424
dest: /usr/local
2525
remote_src: yes
2626

scripts/ansible/kubectl.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
tasks:
77
- name: download kubectl
8-
shell: curl -LO https://dl.k8s.io/release/v1.22.9/bin/linux/amd64/kubectl
8+
shell: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
99

1010
- name: install kubectl
1111
shell: install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

0 commit comments

Comments
 (0)