You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lyz f48f37b3fa Merge branch 'fix/improve_the_condition_for_root' of ansible-roles/extract-gpg-public-key into master 1 year ago
defaults Added gpg_homedir as variable 1 year ago
files Initial commit 1 year ago
meta Initial commit 1 year ago
molecule/default * Try to export the key with sudo if it fails * Improve the speed of the tests * Change from docker to libvirt for test 1 year ago
tasks Improve the condition to use sudo 1 year ago
vars Initial commit 1 year ago
.gitignore license and gitignore 1 year ago
.yamllint Improve the condition to use sudo 1 year ago
COPYING license and gitignore 1 year ago
History.md Fix history 1 year ago
README.md Added gpg_homedir as variable 1 year ago

README.md

extract-gpg-public-key

Role to extract the public key of a desired key.

It will extract it to the client path /tmp/extract-gpg-public-key/{{ gpg_id }}, which will also be stored in the fact exported_gpg_key_path

Role Variables

  • gpg_homedir: GPG homedir (Default: ~/.gnupg)
  • gpg_id_to_extract: GPG ID to extract

Example playbook

- hosts: all
  roles:
    - extract-gpg-public-key

Testing

To test the role you need molecule.

molecule test

License

GPLv2

Author Information

Lyz (lyz@riseup.net)