Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
infra
ansible-shared
webservices
Commits
27092c00
Commit
27092c00
authored
5 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Patches
Plain Diff
Simplify debian-repository role
Drop rssh
parent
2359520b
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
debian-repository/files/rssh.conf
+0
-5
0 additions, 5 deletions
debian-repository/files/rssh.conf
debian-repository/tasks/main.yml
+1
-46
1 addition, 46 deletions
debian-repository/tasks/main.yml
with
1 addition
and
51 deletions
debian-repository/files/rssh.conf
deleted
100644 → 0
+
0
−
5
View file @
2359520b
logfacility
=
LOG_USER
allowrsync
umask
=
022
This diff is collapsed.
Click to expand it.
debian-repository/tasks/main.yml
+
1
−
46
View file @
27092c00
...
...
@@ -4,35 +4,14 @@
apt
:
name
:
-
reprepro
-
rssh
-
unzip
state
:
present
tags
:
-
packages
-
debian-repository
-
rssh
-
webservices
-
name
:
ensure rssh is configured
copy
:
src
:
rssh.conf
dest
:
/etc/rssh.conf
owner
:
root
group
:
root
mode
:
'
0644'
tags
:
-
debian-repository
-
rssh
-
webservices
-
name
:
ensure we have a repo group
group
:
name
:
repo
system
:
true
state
:
present
tags
:
-
debian-repository
-
webservices
-
name
:
ensure we have a repo user
user
:
...
...
@@ -40,31 +19,7 @@
group
:
repo
system
:
true
home
:
/srv/repo
shell
:
/usr/bin/
rssh
shell
:
/usr/bin/
nologin
createhome
:
false
state
:
present
tags
:
-
debian-repository
-
webservices
-
name
:
ensure we can configure ssh
file
:
path
:
/srv/repo/.ssh
state
:
directory
owner
:
repo
group
:
repo
mode
:
'
0755'
tags
:
-
debian-repository
-
webservices
-
name
:
ensure the deploy key is authorized
copy
:
src
:
"
{{inventory_dir}}/files/deploy-keys/repo.pub"
dest
:
/srv/repo/.ssh/authorized_keys
owner
:
repo
group
:
repo
mode
:
'
0644'
tags
:
-
debian-repository
-
webservices
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