Bug 1464518
Summary: | raw_stdout member of Ansible Tower job object is set to "stdout capture is missing" when using HA Tower | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Samson Wick <swick> |
Component: | Automate | Assignee: | Bill Wei <bilwei> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 5.7.0 | CC: | dscott, jhardy, mkanoor, obarenbo, swick, tfitzger |
Target Milestone: | GA | ||
Target Release: | cfme-future | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | ansible | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-20 20:47:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Samson Wick
2017-06-23 16:00:23 UTC
FYI, the latest version of the ansible-tower-client rubygem offers this functionality: https://github.com/ansible/ansible_tower_client_ruby/blob/master/lib/ansible_tower_client/base_models/job.rb def stdout(format = 'txt') out_url = related['stdout'] return unless out_url api.get("#{out_url}?format=#{format}").body end Would need to modify the format variable to utilize txt_download. With newer version (5.8 or newer) you can get txt_download format from rails console job.raw_stdout('txt_download') (In reply to Bill Wei from comment #3) > With newer version (5.8 or newer) you can get txt_download format from rails > console > > job.raw_stdout('txt_download') Is this functionality also available within Automate? Yes, it is. |