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
|
||||
package:
|
||||
name: golang-1.8
|
||||
state: present
|
||||
|
||||
- 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
|
||||
apt:
|
||||
name: golang
|
||||
state: latest
|
||||
default_release: stretch-backports
|
||||
|
||||
- name: create GOPATH directory
|
||||
file:
|
||||
|
|
Loading…
Reference in a new issue