diff options
-rw-r--r-- | roles/gnupg/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/gnupg/tasks/main.yml b/roles/gnupg/tasks/main.yml index 5139bef..954c029 100644 --- a/roles/gnupg/tasks/main.yml +++ b/roles/gnupg/tasks/main.yml | |||
@@ -82,6 +82,16 @@ | |||
82 | - meta: flush_handlers | 82 | - meta: flush_handlers |
83 | - name: Override the gpg socket directory | 83 | - name: Override the gpg socket directory |
84 | block: | 84 | block: |
85 | - name: Add systemd overrides directory | ||
86 | file: | ||
87 | path: "$XDG_CONFIG_HOME/systemd/user/{{ item }}.socket.d" | ||
88 | state: directory | ||
89 | loop: | ||
90 | - dirmngr | ||
91 | - gpg-agent | ||
92 | - gpg-agent-browser | ||
93 | - gpg-agent-extra | ||
94 | - gpg-agent-ssh | ||
85 | - name: Add systemd overrides | 95 | - name: Add systemd overrides |
86 | template: | 96 | template: |
87 | src: "systemd/{{ item }}.conf.j2" | 97 | src: "systemd/{{ item }}.conf.j2" |