ansible-ffibk/roles/golang/tasks/main.yml
Julian Labus d69d5bde3f
role golang: update to 1.10
yanic no longer builds with 1.8
2018-10-15 09:40:09 +02:00

22 lines
401 B
YAML

---
- name: install golang package
apt:
name: golang
state: latest
default_release: stretch-backports
- name: create GOPATH directory
file:
path: "{{ gopath }}"
state: directory
owner: root
group: root
mode: 0755
- name: set GOPATH globally via profile.d
template:
src: go.sh.j2
dest: /etc/profile.d/go.sh
owner: root
group: root
mode: 0644