Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hash mismatch when downloading docker #48

Closed
B45man opened this issue Apr 30, 2020 · 4 comments
Closed

Hash mismatch when downloading docker #48

B45man opened this issue Apr 30, 2020 · 4 comments

Comments

@B45man
Copy link

B45man commented Apr 30, 2020

Hi, I'm in chapter 4 of this book. I have created 3 VM's using Vagrant. I have downloaded the source code from this repo for chapter 4. When running ansible-playbook -i inventory main.yml I see the below error:

image

I couldn't copy-paste from my terminal window, sorry. This is the only part the playbook seems to fail on. The other steps are successful.

@bmillemathias-1a
Copy link

it seems not to be related to the code, but a problem is your vm or debian side, there is a problem is the fingerprint of some files.

@geerlingguy
Copy link
Owner

geerlingguy commented May 1, 2020

@bmillemathias-1a @B45man - Can you try running apt-get update inside the VM and see if that fixes it up?

@geerlingguy
Copy link
Owner

This may be related to #57 — I am going to re-test the playbook on my laptop now and see if I can reproduce the error.

@geerlingguy
Copy link
Owner

I just re-ran the build fresh on my laptop and didn't seem to run into an error. I'm guessing it was a transient issue with maybe one of the apt caches or something in the image. I would recommend doing a full vagrant destroy then bringing it up again, and make sure you're on the latest versions of Vagrant, all the roles (ansible-galaxy install --force -r requirements.yml), etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants