-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
2.5
-
False
-
-
False
1. What is the nature and description of the request?
The customer is requesting an enhancement to the Job Template "Limit" field in Ansible Automation Platform (AAP) to support a dynamic drop-down (multi-select) interface populated with hosts and groups from the selected inventory. Currently, users must create numerous Smart or Constructed inventories or rely on static surveys to provide a selectable interface, which is inefficient and hard to maintain.
2. Why does the customer need this? (List the business requirements here)
Ease of Use for Non-SME Users: The customer wants user engineers (non-AAP experts) to be able to easily select target machines or groups when launching templates without deep knowledge of AAP internals.
Reduced Administrative Overhead: Maintaining dozens of Smart or Constructed inventories or manually updating static surveys for dynamic inventories creates significant management and overhead burdens.
Improved Scalability and Flexibility: As inventories grow and change, the current solutions (static surveys or custom inventories) do not scale well and require manual updates.
Consistency with Cached Inventory Data: Since AAP already caches inventory data (static or dynamic), exposing that data dynamically in a prompt would provide more seamless and integrated functionality.
Avoids Playbook Workarounds: Current workarounds (e.g., using custom vars or overriding inventory logic in playbooks) are error-prone and go against recommended practices.
3. How would you like to achieve this? (List the functional requirements here)
- Introduce a new promptable field type (or enhance the existing "Limit" prompt) in Job Templates that provides a dynamic multi-select drop-down list of hosts and groups based on the selected inventory.
- Support filtering/searching capabilities within the drop-down for usability in large inventories.
- Ensure the selection respects inventory cache (both static and dynamic sources).
- Allow toggling between manual string input and dynamic UI mode for backward compatibility.
- Automatically reflect changes in inventory (i.e., newly added hosts/groups should appear in the drop-down without requiring a survey or inventory reconstruction).