Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1450485 - Automate method to order an Ansible Playbook Service from a button
Automate method to order an Ansible Playbook Service from a button
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate (Show other bugs)
5.8.0
Unspecified Unspecified
high Severity high
: GA
: 5.8.0
Assigned To: mkanoor
Dmitry Misharov
automate:ansible:playbook:service:button
:
Depends On: 1449361
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-12 14:10 EDT by Satoe Imaishi
Modified: 2017-05-31 11:12 EDT (History)
9 users (show)

See Also:
Fixed In Version: 5.8.0.15
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1449361
Environment:
Last Closed: 2017-05-31 11:12:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1367 normal SHIPPED_LIVE Moderate: CFME 5.8.0 security, bug, and enhancement update 2017-05-31 14:16:03 EDT

  None (edit)
Comment 2 CFME Bot 2017-05-12 14:18:55 EDT
New commit detected on ManageIQ/manageiq-content/fine:
https://github.com/ManageIQ/manageiq-content/commit/bace533c620591b3206fe11f8a6be5bdbd7df080

commit bace533c620591b3206fe11f8a6be5bdbd7df080
Author:     Greg McCullough <gmccullo@redhat.com>
AuthorDate: Fri May 12 13:10:10 2017 -0400
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Fri May 12 14:13:15 2017 -0400

    Merge pull request #113 from mkanoor/bz_1449361
    
    Order Ansible Playbook from a Custom Button using a Method
    (cherry picked from commit 3220db060e4f35e7908dbc66a1352a38dd0ffb4c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1450485

 .../__methods__/order_ansible_playbook.rb          |  84 ++++++++++++++
 .../__methods__/order_ansible_playbook.yaml        |  12 ++
 .../Request.class/order_ansible_playbook.yaml      |  12 ++
 .../__methods__/order_ansible_playbook_spec.rb     | 128 +++++++++++++++++++++
 4 files changed, 236 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
Comment 3 Dmitry Misharov 2017-05-19 04:14:19 EDT
In the Object Details Section the System/Process/Request field should be set to Order_Ansible_Playbook. A service can be ordered via button. Verified in 5.8.0.15.20170517161141_119e6fd. But the credential is always picked always as "CFME Default Credential" or None.
Comment 4 Dmitry Misharov 2017-05-19 04:14:34 EDT
https://bugzilla.redhat.com/show_bug.cgi?id=1452557
Comment 6 errata-xmlrpc 2017-05-31 11:12:24 EDT
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.

https://access.redhat.com/errata/RHSA-2017:1367

Note You need to log in before you can comment on or make changes to this bug.