mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
output timing data for isolated playbook runs
* We batch logging isolated management playbook output. This results in the timestamp of the log being useless when trying to determine when each task in the playbook ran. * To fix this, we enable timestamp logging at the playbook level via ansible `profile_tasks` callback plugin.
This commit is contained in:
parent
9bf721665d
commit
daeba1a898
@ -123,6 +123,7 @@ class IsolatedManager(object):
|
||||
dir=private_data_dir
|
||||
)
|
||||
params = self.runner_params.copy()
|
||||
params.get('envvars', dict())['ANSIBLE_CALLBACK_WHITELIST'] = 'profile_tasks'
|
||||
params['playbook'] = playbook
|
||||
params['private_data_dir'] = iso_dir
|
||||
if idle_timeout:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user