Created attachment 1268994 [details] Hard-to-read-Ansible output Description of problem: The Ansible standard output shown in the self service portal for executed services does not contain line brakes and thus is hard to read. Version-Release number of selected component (if applicable): 5.8 alpha2 How reproducible: Add playbook, order it via self service portal, watch output in services tab in self service portal. Steps to Reproduce: 1. Create Ansible playbook service item 2. Order service item via self service 3. Watch output in "Services" Actual results: Output looks like shown in the attached screenshot Expected results: Output should respect line breaks and thus should be readable Additional info:
Bill, Please take a look and determine if this is a backend issue or needs to by handled by the UI teams.
Harpreet, please try the output with html format.
https://github.com/ManageIQ/manageiq-ui-classic/pull/948
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/2f280f94a31c587a6cb18de1c738582a65766ded commit 2f280f94a31c587a6cb18de1c738582a65766ded Author: Harpreet Kataria <hkataria> AuthorDate: Thu Apr 6 14:00:48 2017 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Fri Apr 7 16:55:38 2017 -0400 changed stdout format to be html Added new JS controller to handle sanitize and render html on the screen. https://bugzilla.redhat.com/show_bug.cgi?id=1439273 .../controllers/sanitize_and_render_controller.js | 8 +++ app/views/service/_svcs_show.html.haml | 81 ++++++++++++---------- 2 files changed, 51 insertions(+), 38 deletions(-) create mode 100644 app/assets/javascripts/controllers/sanitize_and_render_controller.js