Skip to content

Commit

Permalink
Bump tool version in Ansible script
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Aug 13, 2024
1 parent 2f98340 commit 1cb3db6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/ansible/configure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/ansible/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/ansible/kubectl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1cb3db6

Please sign in to comment.