Comments (5)
@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.
@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.
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.
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.
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)
- Debian: add `signed-by` param to the apt list HOT 3
- Setting hosts in docker_daemon_opts variable on a debian 11 host breaks docker HOT 8
- Option to install rootless HOT 4
- Molecule support in GitLab CI HOT 3
- Unable to install a specific version of docker on ubuntu HOT 6
- Run playbook HOT 1
- Idempotence test failed HOT 3
- feature: use ansible facts HOT 3
- Amazon Linux 2023 support HOT 1
- docker-compose-plugin install fails on arch HOT 6
- geerlingguy.docker was NOT installed successfully HOT 4
- error in first run during check if there are any users to add to docker group HOT 3
- Failure when adding docker repository HOT 7
- GPG keys should not be saved to `/apt/trusted.gpg.d` / Do not use `apt-key` HOT 2
- Playbook Fails with error when uninstalling HOT 2
- Reload system config at start HOT 2
- ansible.builtin.include has been removed Error while installing docker role HOT 1
- no /etc/docker/daemon.json ? HOT 1
- Fix min_ansible_version type HOT 1
- Update docker version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-docker.