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: