Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
9b98a228
Verified
Commit
9b98a228
authored
Jul 12, 2020
by
Jelle van der Waa
🚧
Browse files
Add pgp key fetching using WKD to dbscripts role
parent
4cd25e3c
Pipeline
#436
passed with stage
in 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/dbscripts/defaults/main.yml
View file @
9b98a228
---
dbscripts_commit
:
HEAD
dbscripts_update
:
yes
dbscripts_pgp_emails
:
[
'
eschwartz@archlinux.org'
]
roles/dbscripts/tasks/main.yml
View file @
9b98a228
...
...
@@ -69,7 +69,7 @@
-
name
:
create staging directories in user homes
dbscripts_mkdirs
:
pathtmpl
:
'
/home/{user}/staging/{dirname}'
permissions
:
755
permissions
:
'
755
'
directories
:
[
'
'
,
'
core'
,
'
extra'
,
'
testing'
,
'
staging'
,
'
community'
,
'
community-staging'
,
'
community-testing'
,
'
multilib'
,
'
multilib-staging'
,
'
multilib-testing'
]
users
:
"
{{
arch_users.keys()
|
list
}}"
group
:
users
...
...
@@ -150,6 +150,12 @@
-
name
:
add acl group:dev:rw- to /srv/ftp/lastupdate
acl
:
name=/srv/ftp/lastupdate entry="group:dev:rw-" state=present
-
name
:
fetch dbscripts PGP key
command
:
/usr/bin/gpg --keyserver keys.openpgp.org --auto-key-locate wkd,keyserver --locate-keys {{ item }}
with_items
:
'
{{
dbscripts_pgp_emails
}}'
register
:
gpg
changed_when
:
"
gpg.rc
==
0"
-
name
:
clone dbscripts git repo
git
:
>
dest=/srv/repos/{{ item }}/dbscripts
...
...
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