Code Monkey home page Code Monkey logo

Comments (5)

geerlingguy avatar geerlingguy commented on July 23, 2024

@andmos can you provide any more details on how to reproduce this problem? Did this error come up during a playbook run on a task that this role was running?

from ansible-role-docker.

andmos avatar andmos commented on July 23, 2024

@geerlingguy Sorry, that was sloppy of me. I'll do a new run on monday to give you some more details!

from ansible-role-docker.

andmos avatar andmos commented on July 23, 2024

Here are some more details.
The relevant parts of defaults/main.yaml:

docker_edition: 'ee'
docker_package: "docker-{{ docker_edition }}"
# Used only for RedHat/CentOS/Fedora.
docker_yum_repo_url: https://download.docker.com/linux/{{ (ansible_distribution == "Fedora") | ternary("fedora","centos") }}/docker-{{ docker_edition }}.repo

Results in:

TASK [ansible-role-docker : Add Docker repository.] ********************************************************************fatal: [vt-181-solr01.testlab.local]: FAILED! => {"changed": false, "dest": "/etc/yum.repos.d/docker-ee.repo", "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "https://download.docker.com/linux/centos/docker-ee.repo"}
fatal: [vt-181-solr02.testlab.local]: FAILED! => {"changed": false, "dest": "/etc/yum.repos.d/docker-ee.repo", "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "https://download.docker.com/linux/centos/docker-ee.repo"}

The RedHat version I'm running:

# hostnamectl
   Static hostname: vt-181-solr01.testlab.local
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 644f1b15e38e42b39d4ada0872395f4b
           Boot ID: fa19a6147eeb42ada2dee0ebeeff0b4c
    Virtualization: vmware
  Operating System: Red Hat Enterprise Linux
       CPE OS Name: cpe:/o:redhat:enterprise_linux:7.5:GA:server
            Kernel: Linux 3.10.0-862.el7.x86_64
      Architecture: x86-64

I guess it is as simple as the docker ee repo path has changed location, navigating https://download.docker.com/linux/centos/ shows no sign of any EE packages.

from ansible-role-docker.

stale avatar stale commented on July 23, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-docker.

stale avatar stale commented on July 23, 2024

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

from ansible-role-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.