Created attachment 1265771 [details]
Description of problem:
The hosts parameter in the dialog does not inherit what was set in the service
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an Ansible Playbook service
2. Set the hosts field to some values other than localhost.
3. Order the service, notice the dialog has reset the hosts to localhost.
hosts field in dialog does not inherit the service settings for same field?
What ever is set as hosts in the service item should be carried through to the dialog at time of order, still allowing the user to override though if they wish too.
New commit detected on ManageIQ/manageiq/master:
Author: Bill Wei <firstname.lastname@example.org>
AuthorDate: Fri Mar 24 15:37:49 2017 -0400
Commit: Bill Wei <email@example.com>
CommitDate: Fri Mar 24 15:41:25 2017 -0400
Pass hosts as a parameter to create the service dialog
app/models/service_template_ansible_playbook.rb | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
The hosts parameter in the dialog inherits what was set in the service.
Created attachment 1273513 [details]
Assigning shveta for test case.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.