Project

General

Profile

Feature #11716

Build whole host group

Added by Iain Hallam over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

I have dozens of computers to manage in labs, and when I need to rebuild them it comes down to clicking on all of them and hitting "Build".

In the Host Groups screen, can there be an option to set all the machines in that host group (including nested groups) to build, please? The best place would probably be in the dropdown for each group that currently contains "Clone" and "Delete".

It's probably up to the user not to hit the Foreman server too hard, but perhaps if it's going to be more than ten machines, it would be worth mentioning that in the confirmation.


Related issues

Related to Foreman - Feature #11307: Show number of hosts in Host Group overviewClosed2015-08-06

History

#1 Updated by Dominic Cleal over 4 years ago

In the meantime, use the host list to do this as it has support for bulk actions. Search for "hostgroup = foo" (or hostgroup_title), toggle the checkbox in the top left to select all hosts, then choose Build Hosts from the Select Action dropdown menu.

If host groups had a host counter then the host group page could link to the host list directly, like other pages such as domains.

#2 Updated by Iain Hallam over 4 years ago

Dominic Cleal wrote:

In the meantime, use the host list to do this as it has support for bulk actions.

Useful workaround; thanks.

#3 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #11307: Show number of hosts in Host Group overview added

#4 Updated by Dominic Cleal over 4 years ago

Iain Hallam wrote:

In the Host Groups screen, can there be an option to set all the machines in that host group (including nested groups) [..]

Also, to include hosts in nested groups, search for "parent_hostgroup = foo".

Also available in: Atom PDF