Skip to content

Commit f9708e8

Browse files
committed
chore:remove sudo
1 parent d773cdd commit f9708e8

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
@@ -3,7 +3,7 @@
33
msg: Install go
44

55
- name: install go
6-
shell: sudo yum install go -y
6+
shell: yum install go -y
77
become: true
88

99
- name: Create templates directory
@@ -31,7 +31,7 @@
3131
- name: Change Permissions for /home/ec2-user/templates
3232
shell: chown -R ec2-user:ec2-user /home/ec2-user/templates/ && chmod -R 755 /home/ec2-user/templates
3333
become: true
34-
34+
3535
# Use the below command to run it locally
3636
# - name: Run sample go application
3737
# ansible.builtin.shell: cd ~/templates && go build . && nohup ./gosampleapp &

0 commit comments

Comments
 (0)