You can simply just run setup with just the proper flags
The following will load Ingest pipelines and all the index management but not dashboards.
filebeat setup -e --pipelines --index-management
The setting
setup.dashboards.enabled: false
Is only used when index name is changed... see here