Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
ba7b7906
Verified
Commit
ba7b7906
authored
Jun 25, 2020
by
Jelle van der Waa
🚧
Browse files
Create .ssh directories for svn-*
parent
740f3d79
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/dbscripts/tasks/main.yml
View file @
ba7b7906
...
...
@@ -45,12 +45,18 @@
state
:
present
with_dict
:
"
{{
arch_users
}}"
-
name
:
create .ssh directory
file
:
path=/home/svn-packages/.ssh state=directory owner=svn-packages group=svn-packages mode=0700
-
name
:
configure ssh keys for devs
template
:
src=authorized_keys-group.j2 dest=/home/svn-packages/.ssh/authorized_keys owner=svn-packages group=svn-packages mode=600
vars
:
pubkey_groups
:
[
'
dev'
]
tags
:
[
'
archusers'
]
-
name
:
create .ssh directory
file
:
path=/home/svn-community/.ssh state=directory owner=svn-community group=svn-community mode=0700
-
name
:
configure ssh keys for TUs
template
:
src=authorized_keys-group.j2 dest=/home/svn-community/.ssh/authorized_keys owner=svn-community group=svn-community mode=600
vars
:
...
...
@@ -144,7 +150,7 @@
-
name
:
clone dbscripts git repo
git
:
>
dest=/srv/repos/{{ item }}/dbscripts
repo=https://git
.
archlinux
.org
/dbscripts.git
repo=https://git
hub.com/
archlinux/dbscripts.git
version={{ dbscripts_commit }} update={{ dbscripts_update }}
verify_commit=yes
with_items
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment