]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Fix missing directories for gnupg overrides
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Wed, 21 Nov 2018 00:36:37 +0000 (01:36 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Wed, 21 Nov 2018 00:36:37 +0000 (01:36 +0100)
roles/gnupg/tasks/main.yml

index 5139beffbf003fa0bee15748b4001f636ca5718d..954c02921381fccf28e9b28e8ca0173308d00890 100644 (file)
 - meta: flush_handlers
 - name: Override the gpg socket directory
   block:
+    - name: Add systemd overrides directory
+      file:
+        path: "$XDG_CONFIG_HOME/systemd/user/{{ item }}.socket.d"
+        state: directory
+      loop:
+        - dirmngr
+        - gpg-agent
+        - gpg-agent-browser
+        - gpg-agent-extra
+        - gpg-agent-ssh
     - name: Add systemd overrides
       template:
         src: "systemd/{{ item }}.conf.j2"