mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 01:58:09 -03:30
Migrate ad-hoc feature to use the new ansible become method if provided
This commit is contained in:
@@ -1500,7 +1500,7 @@ class AdHocCommandSerializer(UnifiedJobSerializer):
|
||||
model = AdHocCommand
|
||||
fields = ('*', 'job_type', 'inventory', 'limit', 'credential',
|
||||
'module_name', 'module_args', 'forks', 'verbosity',
|
||||
'privilege_escalation')
|
||||
'become_enabled')
|
||||
exclude = ('unified_job_template', 'description')
|
||||
|
||||
def get_related(self, obj):
|
||||
|
||||
Reference in New Issue
Block a user