mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-06-02 10:46:37 +02:00
Add pgp key fetching using WKD to dbscripts role
This commit is contained in:
parent
4cd25e3c57
commit
9b98a22850
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
dbscripts_commit: HEAD
|
||||
dbscripts_update: yes
|
||||
dbscripts_pgp_emails: ['eschwartz@archlinux.org']
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue