ideasonpurpose / basic-wordpress-vagrant

A fast, easy to use WordPress Vagrant environment modeled after managed WordPress hosting platforms like WP Engine and Flywheel.
MIT License
25 stars 3 forks source link

Ansible or Bash for quick setup? #17

Closed jgraup closed 8 years ago

jgraup commented 8 years ago

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

./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.