Plugins not being removed in Staging / Production Environment

So if I remove a plugin from my composer.json in my development environment – and then run

ansible-playbook deploy.yml -e env=production -e -e ‘project_copy_folders=[]’

Shouldn’t this remove the plugin from my production environment?

I’m noticing my plugins aren’t removed unless I push the database as well to my production environment.

Any insights? I feel I’m missing something with composer?



I think I realized my mistake – I didn’t check in my composer.lock file – I’m testing that now to see if that works.

Yep that was it. :slight_smile: