Skip to content

Commit 1eb2caa

Browse files
committed
refactor: Updated go deploy config with perl install command
1 parent 85657f1 commit 1eb2caa

File tree

1 file changed

+2
-2
lines changed
  • test/deploy/linux/go/redhat/roles/configure/tasks

1 file changed

+2
-2
lines changed

test/deploy/linux/go/redhat/roles/configure/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222

2323
- name: Initialize and tidy Go modules
2424
shell: |
25-
cd /home/ec2-user/templates &&
25+
mkdir -p /home/ec2-user/go/pkg/mod &&
26+
mkdir -p /home/ec2-user/go/bin &&
2627
export GOPATH=/home/ec2-user/go &&
2728
export GOBIN=/home/ec2-user/go/bin &&
28-
mkdir -p /home/ec2-user/go/bin &&
2929
export GOMODCACHE=/home/ec2-user/go/pkg/mod &&
3030
go mod init home/ec2-user/templates &&
3131
go mod tidy

0 commit comments

Comments
 (0)