Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
golang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
golang
Commits
c3dd6a82
Commit
c3dd6a82
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting
parent
e0f9c1ea
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/main.yml
+14
-10
14 additions, 10 deletions
tasks/main.yml
with
14 additions
and
10 deletions
tasks/main.yml
+
14
−
10
View file @
c3dd6a82
---
# file: roles/golang/tasks/main.yml
-
name
:
"
Common
GoLang"
set_fact
:
role_golang_started=true
tags
:
'
always'
-
name
:
Common GoLang
set_fact
:
role_golang_started
:
yes
tags
:
-
always
-
block
:
-
name
:
"
Install
Go
Lang
"
-
name
:
Install Go Lang
apt
:
pkg
:
'
golang-go
'
state
:
'
present
'
pkg
:
golang-go
state
:
present
update_cache
:
yes
-
name
:
"
Remember
that
this
role
had
been
run"
set_fact
:
role_golang_completed=true
tags
:
'
always'
-
name
:
Remember that this role had been run
set_fact
:
role_golang_completed
:
yes
tags
:
-
always
when
:
'
"golang"
not
in
excluded_roles
and
role_golang_completed
is
not
defined
'
when
:
not excluded_roles or
"golang" not in excluded_roles and role_golang_completed is not defined
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment