updated golang state
This commit is contained in:
parent
ea7c3bb2dc
commit
bbb91601a2
@ -2,23 +2,23 @@
|
|||||||
{%- from "golang/map.jinja" import golang with context %}
|
{%- from "golang/map.jinja" import golang with context %}
|
||||||
golang-archive-extract:
|
golang-archive-extract:
|
||||||
archive.extracted:
|
archive.extracted:
|
||||||
- name: {{ golang.release_dir }}/go-{{ golang.version }}
|
- name: {{ golang.release_dir }}/golang-{{ golang.version }}
|
||||||
- source: {{ golang.mirror }}/go{{ golang.version }}.{{ golang.os }}-{{ golang.arch }}.tar.gz
|
- source: {{ golang.mirror }}/go{{ golang.version }}.{{ golang.os }}-{{ golang.arch }}.tar.gz
|
||||||
- skip_verify: true
|
- skip_verify: true
|
||||||
- enforce_toplevel: false
|
- enforce_toplevel: false
|
||||||
- options: --transform 's/^go\///g'
|
- options: --transform 's/^go\///g'
|
||||||
- if_missing: {{ golang.release_dir }}/go-{{ golang.version }}
|
- if_missing: {{ golang.release_dir }}/golang-{{ golang.version }}
|
||||||
|
|
||||||
golang-binary-symlink:
|
golang-binary-symlink:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
- name: {{ golang.install_dir }}/go
|
- name: {{ golang.install_dir }}/golang
|
||||||
- target: {{ golang.release_dir }}/go-{{ golang.version }}
|
- target: {{ golang.release_dir }}/golang-{{ golang.version }}
|
||||||
- force: true
|
- force: true
|
||||||
- require:
|
- require:
|
||||||
- archive: golang-archive-extract
|
- archive: golang-archive-extract
|
||||||
|
|
||||||
golang-cleanup:
|
golang-cleanup:
|
||||||
software.cleanup:
|
software.cleanup:
|
||||||
- name: go
|
- name: golang
|
||||||
- path: {{ golang.release_dir }}
|
- path: {{ golang.release_dir }}
|
||||||
- version: "{{ golang.version }}"
|
- version: "{{ golang.version }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user