deploy wordpress database settings and not content

Solution:

You can’t define “module”, WordPress term is plugin, in wp-config.php The plugin settings are stored in the table _options table, but some plugins use multiple rows, others create entire new tables.

If the plugin doesn’t have the option to export/import the settings, you can almost forget about it. You would have to dig in the code to figure out the names of the rows in the DB and if the the plugin creates new tables.