I discovered wordops when porting my site from siteground to vultr. First of all, it's an amazing tool for installing wordpress and letsencrypt on your site. I was up and running in minutes. Vultr supports terraform, so I've started working on a CI/CD pipeline for maintaining my site. Since wordops is self contained, it's alot easier for me to write an ansible playbook that mimics everything. I've linked what I have so far below, but some things I need eyes on are around the letsencrypt stuff, and possibly nginx. Would love someones eyes on if I'm missing anything. I've removed anything sensitive from the playbook, like salts, etc. Thanks!
https://github.com/evanrich/wopress-ansible
some notes:
1.) I've mangled the ansible vault secrets, just to be safe
2.) I've changed my site name to "site.com"
3.) I've changed some usernames around as well.
4.) in the playbook, letsencrypt and wordpress are commented out as I've been trying to test individual parts of the playbook without doing a full blown site.
The sections I really need help figuring out are the letsencrypt part and maybe the wordpress part. Open to any input, and in exchange, anyone is welcome to use it. Also, if anyone knows how to automate loading plugins with wp-cli as well as themes, I'm missing that stuff as well too.