ansible/awx

awx-cli bulk delete jobs

Open

#13,233 opened on Nov 25, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (3,333 forks)batch import
communityhelp wantedtype:enhancement

Repository metrics

Stars
 (13,071 stars)
PR merge metrics
 (Avg merge 24d 6h) (30 merged PRs in 30d)

Description

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.

Feature type

Enhancement to Existing Feature

Feature Summary

Currently the awx-cli supports only deleting one job per ID like:

awx job delete ID1

Is there the possibility or plan to support more than one job ID or a bulk action (delete all jobs)? The frontend is capable of deleting all selected jobs, but for CLI usage this feature would be awesome. Maybe also combine that with filter usage.

Select the relevant components

  • UI
  • API
  • Docs
  • Collection
  • CLI
  • Other

Steps to reproduce

awx job delete ID1 ID2

Current results

only ID1 is deleted

Sugested feature result

adding a bulk feature

  • all jobs
  • jobs using filter
  • multiple jobs

Additional information

No response

Contributor guide