Skip to main content

Convert Bash script to Ansible Playbook

A simple bash script to provision a virtual host for a wordpress site, called within a Vagrant build.

Converting (and expanding) this to a playbook:

And finally, the call in Vagrant:


Gem::InstallError: byebug requires Ruby version >= 2.0.0

This isn’t a very well documented change, so I thought a simple post that Google may find for another confused engineer might Help. Apparently byebug is no longer being maintained so you simply need to update to “pry-byebug”


Replace with: