diff --git a/.gitmodules b/.gitmodules index e444087..bd1e309 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "config/automatrop/plugins/modules/aur"] path = config/automatrop/plugins/modules/aur url = https://github.com/kewlfft/ansible-aur.git +[submodule "config/automatrop/plugins/modules/gpg_key"] + path = config/automatrop/plugins/modules/gpg_key + url = https://github.com/netson/ansible-gpg-key.git diff --git a/config/automatrop/plugins/modules/gpg_key b/config/automatrop/plugins/modules/gpg_key new file mode 160000 index 0000000..435f8e6 --- /dev/null +++ b/config/automatrop/plugins/modules/gpg_key @@ -0,0 +1 @@ +Subproject commit 435f8e6aea0ba9be482c4409db380868a23fea9c diff --git a/config/automatrop/roles/gnupg/tasks/main.yml b/config/automatrop/roles/gnupg/tasks/main.yml index 24abc82..1890860 100644 --- a/config/automatrop/roles/gnupg/tasks/main.yml +++ b/config/automatrop/roles/gnupg/tasks/main.yml @@ -47,5 +47,6 @@ # TODO Set default-key in extensions depending on which ones are available # TODO Add enable-ssh-support to gpg-agent.conf in extensions to signal shenv that we should not use the SSH agent -# TODO Import 0x8312C8CAC1BAC289 with https://github.com/netson/ansible-gpg-key, -# think about the source +- name: Install Geoffrey Frogeye's key + gpg_key: + fpr: 4FBA930D314A03215E2CDB0A8312C8CAC1BAC289