mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 17:07:36 -02:30
don't render playbook_on_start events
This commit is contained in:
@@ -3,6 +3,7 @@ import Entities from 'html-entities';
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
EVENT_START_PLAY,
|
EVENT_START_PLAY,
|
||||||
|
EVENT_START_PLAYBOOK,
|
||||||
EVENT_STATS_PLAY,
|
EVENT_STATS_PLAY,
|
||||||
EVENT_START_TASK,
|
EVENT_START_TASK,
|
||||||
OUTPUT_ANSI_COLORMAP,
|
OUTPUT_ANSI_COLORMAP,
|
||||||
@@ -208,6 +209,10 @@ function JobRenderService ($q, $sce, $window) {
|
|||||||
const lines = stdout.split('\r\n');
|
const lines = stdout.split('\r\n');
|
||||||
const record = this.createRecord(event, lines);
|
const record = this.createRecord(event, lines);
|
||||||
|
|
||||||
|
if (event.event === EVENT_START_PLAYBOOK) {
|
||||||
|
return { html: '', count: 0 };
|
||||||
|
}
|
||||||
|
|
||||||
let html = '';
|
let html = '';
|
||||||
let count = lines.length;
|
let count = lines.length;
|
||||||
let ln = event.start_line;
|
let ln = event.start_line;
|
||||||
|
|||||||
Reference in New Issue
Block a user