Hammer job-invocation list all output

Right now, there's a way to show the job command output per hostname

"hammer job-invocation output --id 20 --host hostname"

Is there a way to show the output of ALL the hosts that ran my Remote
Execution job?

napsal:

> Right now, there's a way to show the job command output per hostname
>
> "hammer job-invocation output --id 20 --host hostname"
>
> Is there a way to show the output of ALL the hosts that ran my Remote
> Execution job?
>

Not directly in hammer, but I put together small script to go through the
outputs here:

Hope that helps

– Ivan

··· út 5. 9. 2017 v 9:56 odesílatel grace rante thompson


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi,
as Ivan mentioned, there's no way to do it with single hammer command yet.
We have an issue[1] requesting such functionality, but it is still on our
backlog and I can't promise when it will be done.

[1] - Feature #15265: Enhance REX CLI so that tasks can be exports for reporting - Foreman Remote Execution - Foreman

– Adam

··· On Tue, Sep 5, 2017 at 5:10 PM, Ivan Necas wrote:

út 5. 9. 2017 v 9:56 odesílatel grace rante thompson graziee@gmail.com
napsal:

Right now, there’s a way to show the job command output per hostname

“hammer job-invocation output --id 20 --host hostname”

Is there a way to show the output of ALL the hosts that ran my Remote
Execution job?

Not directly in hammer, but I put together small script to go through the
outputs here:

https://gist.github.com/iNecas/b7a76bb9e7a7c1df3153b26d26023139

Hope that helps

– Ivan


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.