awx icon indicating copy to clipboard operation
awx copied to clipboard

Missing update function for AWX CLI for constructed inventory

Open kalpanachinnappan opened this issue 1 year ago • 0 comments

Please confirm the following

  • [X] I agree to follow this project's code of conduct.
  • [X] I have checked the current issues for duplicates.
  • [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • [X] I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

In the AWX UI there is a Sync button in the Constructed inventory details page, which you can click to sync the inventory with the main source inventory.
Screenshot 2024-08-02 at 10 47 39 AM

There is no comparable "Update" function for constructed inventory in the AWX CLI, according to https://docs.ansible.com/automation-controller/latest/html/controllercli/reference.html.

How does one programatically sync a constructed inventory in AWX?

AWX version

24.6.2.dev0+g94e5795dfc.d20240717

Select the relevant components

  • [X] UI
  • [ ] UI (tech preview)
  • [X] API
  • [ ] Docs
  • [ ] Collection
  • [X] CLI
  • [ ] Other

Installation method

docker development environment

Modifications

no

Ansible version

2.15.12

Operating system

No response

Web browser

Edge

Steps to reproduce

Try to run awx constructed_inventory update <id> for a constructed inventory in AWX

Expected results

be able to sync a constructed inventory using AWX CLI

Actual results

not able to sync a constructed inventory using AWX CLI

Additional information

No response

kalpanachinnappan avatar Jul 26 '24 15:07 kalpanachinnappan