Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-playbook
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Maruyama Takayuki
gitlab-playbook
Commits
5584bb26
Commit
5584bb26
authored
Mar 04, 2016
by
Maruyama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
roles/go: use file module instead of command: /bin/ln
parent
24cafd3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
roles/go/tasks/main.yml
+21
-2
No files found.
roles/go/tasks/main.yml
View file @
5584bb26
...
@@ -5,8 +5,27 @@
...
@@ -5,8 +5,27 @@
dest
:
/usr/local
dest
:
/usr/local
copy
:
no
copy
:
no
-
name
:
make symlinks
-
name
:
make symlink go
command
:
/bin/ln -sf /usr/local/go/bin/{go,godoc,gofmt} /usr/bin/
file
:
src
:
/usr/local/go/bin/go
dest
:
/usr/bin/go
state
:
link
become
:
yes
become_user
:
root
-
name
:
make symlink godoc
file
:
src
:
/usr/local/go/bin/godoc
dest
:
/usr/bin/godoc
state
:
link
become
:
yes
become_user
:
root
-
name
:
make symlink gofmt
file
:
src
:
/usr/local/go/bin/gofmt
dest
:
/usr/bin/gofmt
state
:
link
become
:
yes
become
:
yes
become_user
:
root
become_user
:
root
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment