mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
golang: remove existing installations before installing again
This commit is contained in:
parent
d6013e9d41
commit
2175fd76cc
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
- name: install mercurial
|
||||
apt: pkg=mercurial state=installed
|
||||
|
||||
- name: remove any existing go installations
|
||||
file: path={{ golang_root }} state=absent
|
||||
|
||||
- name: download and checksum go tarball
|
||||
get_url: url={{ golang_url }} dest={{ golang_tgz }} checksum=sha256:{{ golang_sha256 }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue