ansible/roles/go/tasks/main.yml

8 lines
243 B
YAML
Raw Permalink Normal View History

---
- name: Download and install go
unarchive: src=https://dl.google.com/go/go{{ go_version }}.linux-amd64.tar.gz dest=/usr/local remote_src=yes creates=/usr/local/go/bin/go
- name: Configure go
2018-01-10 16:35:20 +01:00
copy: src=go.sh dest=/etc/profile.d/go.sh