Created attachment 1277424 [details] Button Description of problem: An Ansible Service Playbook can be ordered from a Custom Button Version-Release number of selected component (if applicable): 5.8 How reproducible: 100% Steps to Reproduce: 1. Create a Custom Button pointing to an Ansible Playbook Service Dialog 3. In the Attribute/Value Pairs section for the button set the service_template_name 2. In the Object Details Section set the System/Process/Request set request to OrderAnsiblePlaybook Actual results: Not implemented Expected results: The Automate Method should order the service Additional info:
https://github.com/ManageIQ/manageiq-content/pull/113
Dmitry, can you watch for this one to land in a nightly and start testing this asap please. we do not want to wait for next weeks build to find any issues with this one.
Yes, I will watch for this BZ.
New commit detected on ManageIQ/manageiq-content/master: https://github.com/ManageIQ/manageiq-content/commit/00f4a4633f11495ed8ec911464af713d882cabcb commit 00f4a4633f11495ed8ec911464af713d882cabcb Author: mkanoor <mkanoor> AuthorDate: Wed May 10 12:17:27 2017 -0400 Commit: mkanoor <mkanoor> CommitDate: Wed May 10 12:17:27 2017 -0400 Order Ansible Playbook from a Custom Button using a Method https://bugzilla.redhat.com/show_bug.cgi?id=1449361 .../__methods__/order_ansible_playbook.rb | 76 +++++++++++++ .../__methods__/order_ansible_playbook.yaml | 12 ++ .../Request.class/order_ansible_playbook.yaml | 12 ++ .../__methods__/order_ansible_playbook_spec.rb | 126 +++++++++++++++++++++ 4 files changed, 226 insertions(+) create mode 100644 content/automate/ManageIQ/System/Request.class/__methods__/order_ansible_playbook.rb create mode 100644 content/automate/ManageIQ/System/Request.class/__methods__/order_ansible_playbook.yaml create mode 100644 content/automate/ManageIQ/System/Request.class/order_ansible_playbook.yaml create mode 100644 spec/content/automate/ManageIQ/System/Request.class/__methods__/order_ansible_playbook_spec.rb
Verified in 5.9.0.2.20171010190026_0413a06. Service successfully ordered from custom button, Request instance should be called Order_Ansible_Playbook.