Project

General

Profile

Actions

Bug #11601

closed

When using host-specific parameters, the rendering preview in job invocation renders to false

Added by Ivan Necas about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

1. use a job template that uses some host parameters, such as:

<% if @host.operatingsystem.family == "Redhat" && @host.operatingsystem.major.to_i > 6 %>
systemctl <%= input("action") %> <%= input("service") %>
<% else %>
service <%= input("service") %> <%= input("action") %>
<% end -%>

2. invoke a job with this template
3. the job invocation details page has `false` in the the rendering output

expected:

ability to choose what host the preview to render against?

Actions

Also available in: Atom PDF