mirror of
https://github.com/mpolden/echoip.git
synced 2025-06-26 20:57:51 +02:00
Add Ansible provisioning of Vagrant env
This commit is contained in:
11
provisioning/roles/golang/tasks/main.yml
Normal file
11
provisioning/roles/golang/tasks/main.yml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
- 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
|
Reference in New Issue
Block a user