Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Approving a workflow approval not possible via awx cli #14907

Open
5 of 11 tasks
SimHeb opened this issue Feb 21, 2024 · 0 comments
Open
5 of 11 tasks

Approving a workflow approval not possible via awx cli #14907

SimHeb opened this issue Feb 21, 2024 · 0 comments

Comments

@SimHeb
Copy link

SimHeb commented Feb 21, 2024

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.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

Currently there is no option to approve a workflow approval with the store awx.
Checking:

https://github.com/ansible/awx/blob/23.8.1/awxkit/awxkit/api/pages/workflow_approvals.py

there is a small implementation for that already, but it is never used in other files (or did I miss something?)

However, there already exists a workflow_approval Ansible Module:
https://github.com/ansible/awx/blob/23.8.1/awx_collection/plugins/modules/workflow_approval.py

AWX version

23.8.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

use awx cli to approve a workflow approval

Expected results

awx workflow_approvals approve 3460

Actual results

usage: awx workflow_approvals [-h] action ...

positional arguments:
action
list
get
delete

options:
-h, --help show this help message and exit

awx workflow_approvals: the following arguments are required: action

Additional information

No response

@SimHeb SimHeb changed the title Approving a workflow approval not possible in awxkit Approving a workflow approval not possible via awx cli Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants