add controller_node to adhoc command job

This commit is contained in:
chris meyers
2018-06-06 16:26:22 -04:00
parent 429c1bf2b4
commit 0702692ca9
2 changed files with 4 additions and 5 deletions

View File

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