From d03cede672edcf559379ca0b12c80fd7b92cfb18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 6 Nov 2018 19:05:00 +0100 Subject: Use check_mode for commands --- roles/gnupg/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/gnupg/tasks/main.yml') diff --git a/roles/gnupg/tasks/main.yml b/roles/gnupg/tasks/main.yml index d1289f5..ef61fed 100644 --- a/roles/gnupg/tasks/main.yml +++ b/roles/gnupg/tasks/main.yml @@ -15,11 +15,13 @@ shell: 'gpgconf --list-dirs socketdir | sed -e "s@$XDG_RUNTIME_DIR/gnupg/@@"' register: gnupg_runtime_dir_cmd changed_when: false + check_mode: no - name: check existing secret key shell: "gpg --list-secret-keys | grep '{{ gpg_useremail }}'" changed_when: false ignore_errors: true register: gpgkeys + check_mode: no - name: ask for gpg password pause: prompt: "Chose gpg password" -- cgit v1.2.3