rooland-provisioning.git-gpg
Git — GPG
This is a basic setup for GPG. It installs GPG (a tool for entering your PIN) and Git. The main purpose of this setup is to get your system ready for signing Git commits. I created this based on information from Set up Keybase.io, GPG & Git to sign commits on GitHub. This guide was very helpful, and I recommend everyone check it out, even briefly.
Requirements
This setup uses Homebrew to install software, so it's good to have Homebrew installed already.
Role Variables
Here you will find the variables that can be set for this setup. This includes variables from defaults/main.yml, vars/main.yml, and any that can be set as parameters. Variables that come from other roles or the global scope (like hostvars, group vars, etc.) are also noted here.
Defaults
Name | Type | Description |
---|---|---|
git_gpg.git.signing_key | String | Default signing key for Git. See user.signingKey. |
git_gpg.git.auto_sign | Boolean | If commits should be signed automatically. See user.gpgsign. |
Variables
Name | Type | Description |
---|---|---|
String |
Example Playbook
Here's an example of how to use this setup (for instance, with variables provided as parameters):
---
- hosts: localhost
roles:
- role: git-gpg
tags:
- git
- gpg
License
MIT
Author Information
Mailo Světel
- Usually found on Freenode as lipoqil
- http://mailo.svetel.cz
ansible-galaxy install rooland-provisioning.git-gpg