echoip/provisioning/roles/golang/tasks/main.yml
2014-01-26 20:59:29 +01:00

12 lines
291 B
YAML

---
- name: install golang
shell: curl https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz | tar -zxC /usr/local
creates=/usr/local/go
- name: configure path
copy: src=golang.sh
dest=/etc/profile.d/golang.sh
owner=root
group=root
mode=0644