bluk / ansible-role-import-gpg-repo

An Ansible role to import GPG keys from a git repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-role-import-gpg-repo

GitHub license Build Status

An Ansible role to clone a repository and import public GPG keys from it.

Requirements

It is assumed GPG is already installed and is available on the $PATH.

Role Variables

  • git_repo - The git URL to clone.

  • git_repo_local_dest - The path to clone the files to.

  • git_repo_dir_src - The path in the git repository to import GPG keys from.

  • git_accept_hostkey - If the hostkey should automatically be accepted.

  • git_force - If the repository should discord changes in the directory.

  • git_recursive - If any submodules should be checked out.

  • git_remote - The name of the remote to give.

  • git_update - If the repository should be updated.

  • git_verify_commit - If the commit's GPG signature should be verified.

  • git_version - The version to checkout.

Dependencies

No dependencies.

Example Playbook

- hosts: servers
  roles:
     - { role: bluk.import_gpg_repo }

License

Apache 2.0

About

An Ansible role to import GPG keys from a git repository.

License:Apache License 2.0