Bug 1757190

Summary: New External Ansible Tower Job Template Automate Method needs input parameters and hosts field
Product: Red Hat CloudForms Management Engine Reporter: Tina Fitzgerald <tfitzger>
Component: UI - OPSAssignee: Martin Povolny <mpovolny>
Status: CLOSED CURRENTRELEASE QA Contact: Devidas Gaikwad <dgaikwad>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, ghubale, hkataria, lavenel, lufu, mpovolny, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0Flags: mfeifer: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1794780 (view as bug list) Environment:
Last Closed: 2020-10-26 16:26:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Ansible Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1794780    
Attachments:
Description Flags
playbook method none

Description Tina Fitzgerald 2019-09-30 19:21:54 UTC
External Tower Job Template Automate method type does not allow the user to specify input parameters(extra_vars) and host(s).


Version-Release number of selected component (if applicable):
The new method type was added in 5.11.0.2.

How reproducible: all


Steps to Reproduce:
1. Create new automate method type External Tower Job Template. 
2. Attempt to pass input parameters. 
3. Attempt to pass host(s). 

Actual results:
UI fields are missing

Expected results:
UI fields are present


Additional info:  The host(s) field should display as hosts, but the field name should be limit.

Comment 2 Dave Johnson 2019-09-30 20:04:03 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 5 Dave Johnson 2019-09-30 22:04:04 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 6 dmetzger 2019-10-01 13:51:30 UTC
*** Bug 1757391 has been marked as a duplicate of this bug. ***

Comment 9 Lucy Fu 2019-10-07 18:20:13 UTC
Created attachment 1623305 [details]
playbook method

Comment 13 Tina Fitzgerald 2019-10-08 18:01:20 UTC
Hi Harpreet,

Yes, thanks for the reminder. :-) 

The Ansible Tower Workflow Template method needs only the input parameter section added.

Let me know if you have any questions.

Thanks,
Tina

Comment 14 Martin Povolny 2019-12-11 13:38:01 UTC
OK so adding:
  * Inputs and Hosts for Ansible Job Template 
  * Inputs for Ansible Workflow Template

Is that correct, Tina, Lucy?

Comment 15 Martin Povolny 2019-12-11 14:56:43 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/6530

Comment 16 Lucy Fu 2019-12-11 15:53:38 UTC
adding:
  * Inputs and Hosts for Ansible Job Template 
  * Inputs for Ansible Workflow Template

Sounds right.