summaryrefslogtreecommitdiffstats
path: root/roles/gpg
diff options
context:
space:
mode:
Diffstat (limited to 'roles/gpg')
-rw-r--r--roles/gpg/tasks/main.yml16
1 files changed, 0 insertions, 16 deletions
diff --git a/roles/gpg/tasks/main.yml b/roles/gpg/tasks/main.yml
index 37db17db..c16ec636 100644
--- a/roles/gpg/tasks/main.yml
+++ b/roles/gpg/tasks/main.yml
@@ -7,19 +7,3 @@
ansible.builtin.package:
name: "{{ gpg_packages }}"
state: "present"
-
-# Disable socket creation by systemd
-# This is done to avoid conflicting sockets for forwarding gpg-agent (for smartcards)
-# Without it, the gpg-agent will listen to these created sockets on startup and causes
-# Warning: remote port forwarding failed for listen path
-- name: Mask GPG agent systemd sockets
- ansible.builtin.systemd_service:
- name: "{{ item }}"
- enabled: false
- masked: true
- scope: user
- loop:
- - gpg-agent.socket
- - gpg-agent-ssh.socket
- - gpg-agent-extra.socket
- - gpg-agent-browser.socket