diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-21 01:36:37 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-21 01:36:37 +0100 |
commit | df352b462703d68c9cfd2fa5ad85514ce0bd71fa (patch) | |
tree | 1d8324768d14ee541e804c6bef202040cb60bc85 /roles/gnupg | |
parent | 29585ffbff59b33b39159c42c66b86720804764a (diff) | |
download | Ansible-df352b462703d68c9cfd2fa5ad85514ce0bd71fa.tar.gz Ansible-df352b462703d68c9cfd2fa5ad85514ce0bd71fa.tar.zst Ansible-df352b462703d68c9cfd2fa5ad85514ce0bd71fa.zip |
Fix missing directories for gnupg overrides
Diffstat (limited to 'roles/gnupg')
-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" |