Commit Graph

3 Commits

Author SHA1 Message Date
Thierry Carrez 825ab5fb99 Fix exec quoting in release remove-gpgkey role
Between YAML, Ansible and Shell unpacking that '\;'
this should work.

Change-Id: If6a7affc2f1e2a3ac086d8db9ac3a3051040cc59
2019-03-15 14:36:14 +01:00
Jeremy Stanley 1935596367 Support ~/.gnupg subdirs in remove-gpgkey role
Newer versions of GNU Privacy Guard place some files in a
private-keys-v1.d subdirectory of ~/.gnupg so calling shred on them
needs extra care (shred has no recursive option). Instead of relying
on globbing, use find to filter to a list of files under that tree
so that shredding them will still work.

Change-Id: I69ed78b1b6d642d71b5e426c9ed254b3e5097ae3
2019-03-14 15:47:17 +00:00
James E. Blair 5f75a2d004 Add roles to add/remove a GPG key
Current usage of gpg keys involves a single role that adds, signs,
and removes the key all in one.  Some jobs may need the GPG key
installed normally onto the remote host, then left in place, and
later removed.  This change facilitates that.

Change-Id: I2f13f0c4de91808ba1bbdcc0fd20a547e43d602b
2017-10-19 13:26:16 -07:00