Using the REST API to access the data for further processing is the recomanded option here.
Can the feature you are looking for be related to http://projects.theforeman.org/issues/11664? Just to complete the answer, one can get to the outputs of the job invocation like this from the console ji = JobInvocation.find('123') ji.template_invocations.map { |ti| {ti.host.name => ti.run_host_job_task.main_action.live_output} } However, this is not a public API and we can't guarantee it will not change in future. -- Ivan On Fri, Jul 8, 2016 at 9:42 AM, <[email protected]> wrote: > Hi all, > I am looking to capture the output of a foreman remote execution job to parse > it for display purposes. Does anyone know what table or how to access the raw > data via the command line? E.g. So I can automate the parsing rather than > clicking through on the GUI? > > Many thanks, > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
