Skip to content

Commit

Permalink
Surface default instance group names in /api/v2/settings/all
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemcd committed Jun 7, 2021
1 parent ec8ac6f commit 023cc68
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions awx/main/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,24 @@
read_only=True,
)

register(
'DEFAULT_CONTROL_PLANE_QUEUE_NAME',
field_class=fields.CharField,
label=_('The instance group where control plane tasks run'),
category=_('System'),
category_slug='system',
read_only=True,
)

register(
'DEFAULT_EXECUTION_QUEUE_NAME',
field_class=fields.CharField,
label=_('The instance group where user jobs run (currently only on non-VM installs)'),
category=_('System'),
category_slug='system',
read_only=True,
)

register(
'DEFAULT_EXECUTION_ENVIRONMENT',
field_class=fields.PrimaryKeyRelatedField,
Expand Down

0 comments on commit 023cc68

Please sign in to comment.