mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
Adding additional check for when event_type isn't a runner_on or playbook_on event
This commit is contained in:
@@ -275,7 +275,9 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
$scope.events[mungedEvent.counter]
|
$scope.events[mungedEvent.counter]
|
||||||
.event = mungedEvent;
|
.event = mungedEvent;
|
||||||
|
|
||||||
if (mungedEvent.stdout.indexOf("not_skeleton") > -1) {
|
if (mungedEvent.stdout.indexOf("not_skeleton") > -1 &&
|
||||||
|
mungedEvent.name.indexOf("plabyook_") > -1 ||
|
||||||
|
mungedEvent.name.indexOf("runner_") > -1 ) {
|
||||||
// put non-duplicate lines into the standard
|
// put non-duplicate lines into the standard
|
||||||
// out pane where they should go (within the
|
// out pane where they should go (within the
|
||||||
// right header section, before the next line
|
// right header section, before the next line
|
||||||
@@ -324,8 +326,18 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
classList = null;
|
classList = null;
|
||||||
putIn = null;
|
putIn = null;
|
||||||
} else {
|
} else {
|
||||||
// this is a header or recap line, so just
|
// if we get here then the event type was either a
|
||||||
// append to the bottom
|
// header line, recap line, or one of the additional
|
||||||
|
// event types, so we append it to the bottom.
|
||||||
|
// These are the event types for captured
|
||||||
|
// stdout not directly related to playbook or runner
|
||||||
|
// events:
|
||||||
|
// (0, 'debug', _('Debug'), False),
|
||||||
|
// (0, 'verbose', _('Verbose'), False),
|
||||||
|
// (0, 'deprecated', _('Deprecated'), False),
|
||||||
|
// (0, 'warning', _('Warning'), False),
|
||||||
|
// (0, 'system_warning', _('System Warning'), False),
|
||||||
|
// (0, 'error', _('Error'), True),
|
||||||
angular
|
angular
|
||||||
.element(".JobResultsStdOut-stdoutContainer")
|
.element(".JobResultsStdOut-stdoutContainer")
|
||||||
.append($compile(mungedEvent
|
.append($compile(mungedEvent
|
||||||
|
|||||||
Reference in New Issue
Block a user