Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ansible
gitolite
Commits
36d4e542
Commit
36d4e542
authored
8 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Document what that empty default var is.
- Use octal numbers for file permissions.
parent
27a73445
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
defaults/main.yml
+1
-0
1 addition, 0 deletions
defaults/main.yml
tasks/main.yml
+5
-5
5 additions, 5 deletions
tasks/main.yml
with
6 additions
and
5 deletions
defaults/main.yml
+
1
−
0
View file @
36d4e542
---
# defaults file for ansible-role-gitolite
# Content of the SSH public key for the gitolite admin account.
gitolite_public_key
:
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
5
−
5
View file @
36d4e542
...
...
@@ -6,7 +6,7 @@
-
gitolite_public_key is defined
-
ansible_os_family == 'Debian'
-
name
:
apt
install
-
name
:
APT
install
with_items
:
-
gitolite3
-
curl
...
...
@@ -31,7 +31,7 @@
dest
:
/srv/git/gitolite.pub
owner
:
git
group
:
git
mode
:
'
0644
'
mode
:
0o
0644
-
name
:
Setup gitolite
become
:
yes
...
...
@@ -43,9 +43,9 @@
-
name
:
Relax permission for cgit integration
with_items
:
-
path
:
/srv/git/repositories
mode
:
'
0750
'
mode
:
0o
0750
-
path
:
/srv/git/projects.list
mode
:
'
0640
'
mode
:
0o
0640
file
:
path
:
'
{{
item.path
}}'
mode
:
'
{{
item.mode
}}'
...
...
@@ -76,6 +76,6 @@
dest
:
/etc/cron.daily/git
owner
:
root
group
:
root
mode
:
'
0755
'
mode
:
0o
0755
-
include
:
cgit.yml
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