mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Pass orchestration jid to orchestration jobs
This commit is contained in:
parent
f93322c19a
commit
1ffec6aef4
@ -20,7 +20,8 @@ def orchestrate(mods,
|
||||
test=None,
|
||||
exclude=None,
|
||||
pillar=None,
|
||||
pillarenv=None):
|
||||
pillarenv=None,
|
||||
**kwargs):
|
||||
'''
|
||||
.. versionadded:: 0.17.0
|
||||
|
||||
@ -60,7 +61,8 @@ def orchestrate(mods,
|
||||
test,
|
||||
exclude,
|
||||
pillar=pillar,
|
||||
pillarenv=pillarenv)
|
||||
pillarenv=pillarenv,
|
||||
orchestration_jid=kwargs.get('__pub_orchestration_jid'))
|
||||
ret = {'data': {minion.opts['id']: running}, 'outputter': 'highstate'}
|
||||
res = salt.utils.check_state_result(ret['data'])
|
||||
if res:
|
||||
|
Loading…
Reference in New Issue
Block a user