I setup this bash script to quickly name a project, pull a version of basic-wordpress-vagrant, pull the latest WP, generate the folders, and then vagrant up - https://codepad.co/snippet/x9TwyHwH
./new_vagrant.sh $NAME
Is this something that would be better done in Ansible? It works, but I'm curious if there is a better way. More so because it would be nice to automate some WP-CLI tasks after the build and I don't know how to do that without going through vagrant ssh.
Hey Joe,
I setup this bash script to quickly name a project, pull a version of basic-wordpress-vagrant, pull the latest WP, generate the folders, and then vagrant up - https://codepad.co/snippet/x9TwyHwH
Is this something that would be better done in Ansible? It works, but I'm curious if there is a better way. More so because it would be nice to automate some WP-CLI tasks after the build and I don't know how to do that without going through
vagrant ssh
.