bradleyd / devops_for_the_desperate

The companion code for the book DevOps for the Desperate
111 stars 62 forks source link

Support for using the book on GitHub Codespace platform #26

Open AnnuCode opened 1 year ago

AnnuCode commented 1 year ago

Hi @bradleyd , is there a way we can code along on Codespace while reading this book? Codespace provides a VM so I think there is no need for VirtualBox? Also, instead of running Vagrant commands, should I run Ansible commands (like ansible playbook) directly? Can we configure the Codespace VM in some way to set it up for following the code samples(something similar was done in the Apple Silicon Qemu case)? Any suggestions will be helpful, thank you.

bradleyd commented 1 year ago

Hey @AnnuCode, thanks for reading my book!

I have not tried codespace so I am not sure how all this would work. The great thing about concepts like Infrastructure as code and configuration management is they can be applied to any host/cloud provider and it should always just work. Now you will have to do some changes as this book was intended to walk you through a specific scenario to teach you these concepts. Here are some quick thoughts:

If you end up getting it to work, feel free to open a PR with a how to for codespace.

Good luck!