diff --git a/apps/ops/const.py b/apps/ops/const.py index 01889a4b2..a12caca2d 100644 --- a/apps/ops/const.py +++ b/apps/ops/const.py @@ -52,6 +52,7 @@ class Modules(models.TextChoices): mysql = 'mysql', _('MySQL') postgresql = 'postgresql', _('PostgreSQL') sqlserver = 'sqlserver', _('SQLServer') + raw = 'raw', _('Raw') class JobStatus(models.TextChoices): diff --git a/apps/ops/models/job.py b/apps/ops/models/job.py index f27e6b309..518506ed6 100644 --- a/apps/ops/models/job.py +++ b/apps/ops/models/job.py @@ -64,7 +64,7 @@ class JMSPermedInventory(JMSInventory): 'mysql': ['mysql'], 'postgresql': ['postgresql'], 'sqlserver': ['sqlserver'], - 'ssh': ['shell', 'python', 'win_shell'], + 'ssh': ['shell', 'python', 'win_shell', 'raw'], } if self.module not in protocol_supported_modules_mapping.get(protocol.name, []):