ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.97k stars 3.41k forks source link

Source Vars are marked as required on Constructed Inventory UI #14042

Open Jaapis opened 1 year ago

Jaapis commented 1 year ago

Please confirm the following

Bug Summary

On the Constructed Inventories UI there is an asterisk on the source_vars implying that it is required to build the inventory even though this is not correct.

image

This was not tested on the Tech Preview UI as the Constructed Inventory page is not available at the time.

AWX version

4.4

Select the relevant components

Installation method

docker development environment

Modifications

no

Ansible version

2.4

Operating system

fedora

Web browser

Firefox, Chrome

Steps to reproduce

Go to Inventories>Add>Add constructed inventory On the bottom of the page there's the Source vars field

Expected results

Source vars is not required to create the constructed inventory so the asterisk shouldn't be there

Actual results

The asterisk is there, implying that the source var is required

Additional information

Bug found during testathon Jira Issue: https://issues.redhat.com/browse/AAP-12581

shanemcd commented 1 year ago

Is this actually an API issue?

Jaapis commented 1 year ago

@kialam showed me that this is actually an issue related to the UI requiring source_vars and not the other way around. Closing this issue.

shanemcd commented 1 year ago

If another issue exists it would be good to link it here for the sake of having a paper trail.

Jaapis commented 1 year ago

There wasn´t any other issue for that so I reopened and edited to be suitable to the related issue.