Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab Client
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
GitLab Client
Commits
f454ed4f
Commit
f454ed4f
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting
parent
48756453
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
defaults/main.yml
+2
-0
2 additions, 0 deletions
defaults/main.yml
tasks/main.yml
+22
-24
22 additions, 24 deletions
tasks/main.yml
with
24 additions
and
24 deletions
defaults/main.yml
+
2
−
0
View file @
f454ed4f
---
gitlab_client
:
{}
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
22
−
24
View file @
f454ed4f
...
...
@@ -13,29 +13,27 @@
-
block
:
-
name
:
Install Python Library
pip
:
name
:
python-gitlab
state
:
present
-
name
:
Copy Scripts
copy
:
src
:
'
{{
item
}}'
dest
:
/usr/local/bin/{{ item }}
mode
:
0775
with_items
:
-
gitlab-issue.py
-
gitlab-merge-request.py
-
name
:
Configure GitLab Client
template
:
src
:
gitlab.cfg
dest
:
~/.gitlab.cfg
mode
:
0600
become_user
:
'
{{
item
}}'
with_items
:
'
{{
admins
}}'
when
:
gitlab_client[item] is defined
-
name
:
Install Python Library
pip
:
name
:
python-gitlab
state
:
present
-
name
:
Copy Scripts
copy
:
src
:
'
{{
item
}}'
dest
:
/usr/local/bin/{{ item }}
mode
:
0775
with_items
:
-
gitlab-issue.py
-
gitlab-merge-request.py
-
name
:
Configure GitLab Client
template
:
src
:
gitlab.cfg
dest
:
~/.gitlab.cfg
mode
:
0600
become_user
:
'
{{
item
}}'
with_items
:
'
{{
admins
}}'
when
:
gitlab_client[item] is defined
when
:
not excluded_roles or "gitlab-client" not in excluded_roles
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