From 220faddbd362dcd3b937438a56bfaf0cb0d9f0f9 Mon Sep 17 00:00:00 2001 From: Dominic Prittie Date: Fri, 13 Jan 2017 11:36:59 +0000 Subject: [PATCH] Don't error GPG import in check mode --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 0963e49..5d0c0ad 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,3 +18,4 @@ key: "{{ epel_repo_gpg_key_url }}" state: present when: not epel_repofile_result.stat.exists + ignore_errors: "{{ ansible_check_mode }}"