Skip to content

salt-run jobs.list_jobs could have extra arguments to filter results  #12232

@arthurzenika

Description

@arthurzenika

for example, I use it a lot to catch up on some highstates that were too long to display (or for some reason the return got lost in sync).

salt-run jobs.list_jobs state.highstate

would be nice.

But maybe we need something generic like

salt-run jobs.list_jobs func=state.highstate
salt-run jobs.list_jobs tgt=hostname
salt-run jobs.list_jobs user=bob

yet another thought : maybe what I'm looking for is a combination of :

  • salt-run jobs.list_jobs
  • find last state.high_state jid
  • pipe it to salt-run -d jobs.lookup_jid

Would :

salt-`run jobs.lookup_latest_func state.highstate 

be useful to anyone else but me ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Featurenew functionality including changes to functionality and code refactors, etc.stale

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions