Merge pull request #1777 from matburt/ad_hoc_extra_vars

Implement extra vars on ad-hoc commands
This commit is contained in:
Matthew Jones
2016-05-03 14:35:19 -04:00
4 changed files with 44 additions and 1 deletions

View File

@@ -1918,7 +1918,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': {