diff options
Diffstat (limited to 'roles/gnupg/tasks/main.yml')
-rw-r--r-- | roles/gnupg/tasks/main.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/gnupg/tasks/main.yml b/roles/gnupg/tasks/main.yml index bfbf31a..5139bef 100644 --- a/roles/gnupg/tasks/main.yml +++ b/roles/gnupg/tasks/main.yml | |||
@@ -12,7 +12,10 @@ | |||
12 | dest: "$XDG_CONFIG_HOME/gnupg/{{ item }}" | 12 | dest: "$XDG_CONFIG_HOME/gnupg/{{ item }}" |
13 | loop: | 13 | loop: |
14 | - gpg-agent.conf | 14 | - gpg-agent.conf |
15 | - gpg.conf | 15 | - name: gpg config file |
16 | template: | ||
17 | src: "gpg.conf.j2" | ||
18 | dest: "$XDG_CONFIG_HOME/gnupg/gpg.conf" | ||
16 | - name: Get gnupg runtime folder name | 19 | - name: Get gnupg runtime folder name |
17 | shell: 'gpgconf --list-dirs socketdir | sed -e "s@$XDG_RUNTIME_DIR/gnupg/@@"' | 20 | shell: 'gpgconf --list-dirs socketdir | sed -e "s@$XDG_RUNTIME_DIR/gnupg/@@"' |
18 | register: gnupg_runtime_dir_cmd | 21 | register: gnupg_runtime_dir_cmd |