Oefenweb / ansible-wordpress

Ansible role to set up (multiple) wordpress installations in Debian-like systems (using wp-cli)
MIT License
79 stars 37 forks source link

Make it possible to delete themes #20

Open tersmitten opened 9 years ago

dsampaolo commented 3 years ago

Hi,

I'd be interested in submitting a PR to solve this issue. Are you still in ? It's not a huge work : we could add a "plugins_remove" array and iterate over it (let me know if you think of a better name).

It could be used to remove default plugins (hello-dolly, yes, I'm speaking about you).

If my first PR is ok, I can do #18 and #19 too.

tersmitten commented 3 years ago

It probably should be a flag on wordpress_installs.{n}.themes and wordpress_installs.{n}.plugins, but I'm not sure how complex that is.