Skip to content

Run Job Template directly from Inventory > Hosts/Groups with selected hosts as limit #782

Description

@dracarys-dev

Please confirm the following

  • I have checked the current issues for duplicates.
  • I understand that Ascender is open source software provided for free and that I might not receive a timely response.

Feature type

New Feature

Feature Summary

Allow running a Job Template directly from the Inventory > Hosts or Inventory > Groups screens by selecting one or more hosts/groups. Currently only the "Run Command" button is available there; a "Run Template" option is requested so the selected hosts/groups can be passed directly to the job's limit field.

Select the relevant components

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

Steps to reproduce

  1. Go to Inventory > Hosts (or Inventory > Groups).
  2. Select one or more hosts/groups using the checkboxes.
  3. Look for an action to run a Job Template against the selection.
  4. Currently, only "Run Command" is available

Current results

Only the "Run Command" button exists on the Hosts/Groups screens. There is no option to launch a Job Template or Workflow Template using the selected hosts/groups as the limit. This makes it hard to run existing templates against a dynamic, manually chosen subset of hosts, since we can't create dynamic surveys on the survey side.

Sugested feature result

Add a "Run Template" option on the Inventory > Hosts and Inventory > Groups screens (and possibly the Hosts screen directly) that opens a Job Template / Workflow Template picker. The existing Launch Wizard would then handle the rest, pre-populating the "Inventory" and "Limit" fields with the selected inventory and hosts/groups.

Additional information

This was originally discussed in the community forum here:

https://forum.ascender-automation.org/d/35-ascender-run-job-template-with-hostmultiple

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions