From 9caa7cf3082b783cc16c4bc7738f757776a2c8cf Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 11 May 2018 14:59:52 -0400 Subject: [PATCH] common: Retry rhsm command due to CDN or network flakiness Signed-off-by: David Galloway --- roles/common/tasks/rhel-entitlements.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/common/tasks/rhel-entitlements.yml b/roles/common/tasks/rhel-entitlements.yml index 3a5798f0..24346884 100644 --- a/roles/common/tasks/rhel-entitlements.yml +++ b/roles/common/tasks/rhel-entitlements.yml @@ -123,6 +123,8 @@ with_items: "{{ rhsm_repos }}" when: rhsm_registered == true and replace_repos|bool == true + retries: 5 + delay: 10 - name: Remove old apt-mirror repository definition. file: -- 2.47.3