Feature #11716
openBuild whole host group
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.
Updated by Dominic Cleal over 9 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.
Updated by Iain Hallam over 9 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.
Updated by Dominic Cleal over 9 years ago
- Related to Feature #11307: Show number of hosts in Host Group overview added
Updated by Dominic Cleal over 9 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".