Skip to content
Snippets Groups Projects
Verified Commit 9b98a228 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Add pgp key fetching using WKD to dbscripts role

parent 4cd25e3c
No related branches found
No related tags found
No related merge requests found
Pipeline #436 passed
---
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment