ansible-ffrgb/roles/go/tasks/main.yml

8 lines
243 B
YAML

---
- 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
copy: src=go.sh dest=/etc/profile.d/go.sh