SE-1069 Module Engagement: handle case when no elasticsearch host is configured

Description

Runs just ModuleEngagementRosterPartitionTask instead of the full ModuleEngagementRosterIndexTask if no elasticsearch host is configured.

*JIRA tickets*:

*Discussions*: https://github.com/open-craft/edx-analytics-pipeline/pull/10

*Dependencies*: None

*Merge deadline*: None

*Testing instructions*:

1. don't configure an elasticsearch host (TODO: full instructions)
2. verify that ModuleEngagementRosterPartitionTask shows in the ModuleEngagementWorkflowTask task logs, instead of ModuleEngagementRosterIndexTask

*Author notes and concerns*:

*Reviewers*

  • [ ] @pomegranited

  • [ ] edX reviewer[s] TBD

*Settings*
```yaml

```

Status

Assignee

Brian Beggs

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Samuel Walladge

Repo

edx/edx-analytics-pipeline

Customer

Epic Link

None

OSCM Assignee

None

Priority

Unset
Configure