Implement extra vars on ad-hoc commands

This commit is contained in:
Matthew Jones
2016-05-03 12:02:27 -04:00
parent 93b0054190
commit a17bb5677b
3 changed files with 10 additions and 1 deletions

View File

@@ -1917,7 +1917,7 @@ class AdHocCommandSerializer(UnifiedJobSerializer):
class Meta:
model = AdHocCommand
fields = ('*', 'job_type', 'inventory', 'limit', 'credential',
'module_name', 'module_args', 'forks', 'verbosity',
'module_name', 'module_args', 'forks', 'verbosity', 'extra_vars',
'become_enabled', '-unified_job_template', '-description')
extra_kwargs = {
'name': {