Automated changes from linter ;P

This commit is contained in:
Mark Janssen 2024-07-11 20:47:52 +02:00
parent 44b73a216f
commit f7f04e7a41
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2
65 changed files with 392 additions and 324 deletions

View file

@ -3,18 +3,18 @@
tags: go,go_install
block:
- name: Remove Debian Go package
apt:
ansible.builtin.apt:
name: golang
autoremove: yes
state: absent
- name: Install dependencies
apt:
ansible.builtin.apt:
name: curl
state: present
- name: Fetch Go latest version
shell: "curl --silent --location https://go.dev/dl/ | grep -Eo 'go[0-9]+(\\.[0-9]+)+.linux' | sort -V | uniq | tail -1 | sed s/^go// | sed s/\\.linux$//"
ansible.builtin.shell: "curl --silent --location https://go.dev/dl/ | grep -Eo 'go[0-9]+(\\.[0-9]+)+.linux' | sort -V | uniq | tail -1 | sed s/^go// | sed s/\\.linux$//"
changed_when: false
register: go_latest_version_shell