File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
deploy/linux/go/redhat/roles/configure/tasks
manual/definitions/apm/go Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3
3
msg : Install go
4
4
5
5
- name : Install go
6
- shell : yum install go -y
6
+ shell : yum install go -y && yum install perl
7
7
become : true
8
8
9
9
- name : Create templates directory
22
22
23
23
- name : Initialize and tidy Go modules
24
24
shell : |
25
- cd /home/ec2-user/templates &&
25
+ mkdir -p /home/ec2-user/go/pkg/mod &&
26
+ mkdir -p /home/ec2-user/go/bin &&
26
27
export GOPATH=/home/ec2-user/go &&
27
28
export GOBIN=/home/ec2-user/go/bin &&
29
+ export GOMODCACHE=/home/ec2-user/go/pkg/mod &&
28
30
go mod init home/ec2-user/templates &&
29
31
go mod tidy
30
32
become : true
Original file line number Diff line number Diff line change 10
10
"id" : " go-l2" ,
11
11
"provider" : " aws" ,
12
12
"type" : " ec2" ,
13
- "size" : " t3.medium " ,
13
+ "size" : " t3.small " ,
14
14
"ami_name" : " amzn2-ami-hvm-2.0.????????.?-x86_64-gp2" ,
15
15
"user_name" : " ec2-user"
16
16
}
You can’t perform that action at this time.
0 commit comments