role golang: update to 1.10
yanic no longer builds with 1.8
This commit is contained in:
parent
98c29c3f93
commit
d69d5bde3f
1 changed files with 4 additions and 11 deletions
|
@ -1,16 +1,9 @@
|
||||||
---
|
---
|
||||||
- name: install golang package
|
- name: install golang package
|
||||||
package:
|
apt:
|
||||||
name: golang-1.8
|
name: golang
|
||||||
state: present
|
state: latest
|
||||||
|
default_release: stretch-backports
|
||||||
- name: create symlink to golang binary
|
|
||||||
file:
|
|
||||||
src: /usr/lib/go-1.8/bin/go
|
|
||||||
dest: /usr/bin/go
|
|
||||||
state: link
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
|
|
||||||
- name: create GOPATH directory
|
- name: create GOPATH directory
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in a new issue