mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
save state
This commit is contained in:
parent
90037bbc2f
commit
c29e5f40be
@ -1709,7 +1709,7 @@ class JobLaunchSerializer(BaseSerializer):
|
||||
def to_native(self, obj):
|
||||
res = super(JobLaunchSerializer, self).to_native(obj)
|
||||
view = self.context.get('view', None)
|
||||
if hasattr(view, '_raw_data_form_marker'):
|
||||
if obj and hasattr(view, '_raw_data_form_marker'):
|
||||
if obj.passwords_needed_to_start:
|
||||
password_keys = dict([(p, u'') for p in obj.passwords_needed_to_start])
|
||||
res.update(dict(extra_vars=password_keys))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user