diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-16 21:24:07 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-16 21:24:07 +0100 |
| commit | 6526e037a8b58cf9cbffb56484db578526f6c2c9 (patch) | |
| tree | 82a8bf148289d55f4f662f7ee13c4a3fbdc4a231 /roles/gpg/tasks | |
| parent | e7d818b9de8e20de723fba47ca2c715c3f76ca2e (diff) | |
Add smart card support packages to gpg role
Enable pcscd.socket for smart card readers and add missing packages
(ccid/libccid, pcsclite) for YubiKey support on both Arch and Debian.
Fixes gpg smart card on archlinux
Co-Authored-By: Claude AI
Diffstat (limited to 'roles/gpg/tasks')
| -rw-r--r-- | roles/gpg/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/gpg/tasks/main.yml b/roles/gpg/tasks/main.yml index be5402cb..98b52ad2 100644 --- a/roles/gpg/tasks/main.yml +++ b/roles/gpg/tasks/main.yml @@ -20,3 +20,9 @@ changed_when: "'imported' in gpg_import_result.stderr" failed_when: gpg_import_result.rc != 0 and 'already in secret keyring' not in gpg_import_result.stderr no_log: true + +- name: "Enable smart-card reader daemon" + become: true + ansible.builtin.systemd_service: + name: "pcscd.socket" + enabled: true |
