From efd26c6599a0b01eae4bed19d2bb4bbebe3b0567 Mon Sep 17 00:00:00 2001 From: Louis Bourguignon Date: Tue, 13 Sep 2022 13:59:49 +0200 Subject: [PATCH] Taken in consideration, there was two domains release+stage repo to download docker. --- tasks/setup-RedHat.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index ccb900d..3e2af54 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -23,8 +23,13 @@ - name: Replace Docker default domain repo. ansible.builtin.replace: path: '/etc/yum.repos.d/docker-{{ docker_edition }}.repo' - regexp: 'https://download.docker.com/linux' + regexp: '{{ __current_item }}' replace: '{{ docker_repo_url }}' + with_items: + - 'https://download.docker.com/linux' + - 'https://download-stage.docker.com/linux/' + loop_control: + loop_var: "__current_item" - name: Configure Docker Nightly repo. ini_file: