book-of-kubernetes / examples

Examples for The Book of Kubernetes
MIT License
166 stars 76 forks source link

Install latest ca-certificates #3

Closed EduardoBautista closed 2 years ago

EduardoBautista commented 2 years ago

Fixes: https://github.com/book-of-kubernetes/examples/issues/2

If you are not running the optional extra playbook, run the following commands when directly on the host machine (not inside a docker container):

sudo apt-get update
sudo apt-get install ca-certificates
AlanHohn commented 2 years ago

Thanks for this PR!

Does it make sense to add it to the existing apt install in setup/roles/tools/tasks/main.yaml (adding state: latest) so it works for folks who don't run the extra provisioner? That will also fix it for future chapters or other apt installs since every chapter has that role.

If you want to update the PR for that I'll merge it; otherwise let me know and I'll update. Much appreciated.

EduardoBautista commented 2 years ago

Actually, that would make a lot of sense. I will make that change.

EduardoBautista commented 2 years ago

@AlanHohn I made the change. I haven't tested it yet, though (I am in the middle of reading another chapter).

AlanHohn commented 2 years ago

Best thing about Ansible and YAML is that eyeballing changes works like 99.99% of the time 👍