Skip to content

Commit

Permalink
Clean up dummy role explanation (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
mabashian authored Feb 13, 2025
1 parent 146fae2 commit 4c31003
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ansible_ai_connect/ai/api/model_pipelines/dummy/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@
that are running Red Hat Enterprise Linux (RHEL) 9.
"""

ROLE_EXPLANATION = """# Information
This role installs the Nginx web server on all hosts
that are running Red Hat Enterprise Linux (RHEL) 9.
"""


@Register(api_type="dummy")
class DummyMetaData(MetaData[DummyConfiguration]):
Expand Down Expand Up @@ -212,7 +217,7 @@ def __init__(self, config: DummyConfiguration):
super().__init__(config=config)

def invoke(self, params: RoleExplanationParameters) -> RoleExplanationResponse:
return EXPLANATION
return ROLE_EXPLANATION

def self_test(self) -> Optional[HealthCheckSummary]:
raise NotImplementedError

0 comments on commit 4c31003

Please sign in to comment.