-
Notifications
You must be signed in to change notification settings - Fork 66
WordPress Setup #59
Comments
Yep! Makes sense and I'd probably need it for #2 as well! |
Doing some work over the weekend in a (currently private) fork, I separated the WP tasks you described (wp-cli, downloading core, etc) into its in Ansible role and playbook. I think that goes a bit against your two-command vision, @carlalexander, but it worked nicely for me. |
I'm not against more roles or playbooks or commands. I just think, in this case, it's more of a setting for the WordPress role itself. The same way you can use |
I just submitted a pull request #61 I left the task in there to create the directory and set the permissions. Also the task for setting a cron job. I assume that people are still using WordPress |
Actually, now I just realised that if we are going to deploy a Bedrock build the cron URL will be wrong |
Yeah, there's already a flag for the cron too I believe.
|
Just added a variable for the path to |
Would you accept a pull request for a wordpress_setup flag that defaults to true.
When it is false it will not install wp-cli, download core, setup the config or install wordpress?
I always go into the var/www/ and rm -rf in the directory before I deploy my git repository anyway.
Or is there a better way to go about it?
The text was updated successfully, but these errors were encountered: