From 1acef89dc0766d99ede3d00afdd5dad308824ab8 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Sun, 16 Oct 2016 14:36:34 +0100 Subject: [PATCH] Do not ignore_errors for fallback keyserver The initial keyserver usage should ignore errors so that the fallback keyserver can be used. However the second task should not ignore errors as there is no third keyserver - if the first has failed, and the fallback has failed, then the task should fail and the installation should stop. Change-Id: I6869ca71d81ab6cb39c328925583c9a9d81844bb --- tasks/galera_client_install_yum.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/galera_client_install_yum.yml b/tasks/galera_client_install_yum.yml index 87b852a..1708639 100644 --- a/tasks/galera_client_install_yum.yml +++ b/tasks/galera_client_install_yum.yml @@ -61,7 +61,6 @@ key: "{{ item.fallback_keyserver }}/{{ item.key_name }}" register: add_keys until: add_keys|success - ignore_errors: True retries: 5 delay: 2 with_items: "{{ galera_client_gpg_keys }}"