-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dynamic groups definition when using --limit (#11577)
Using the hosts directive at the play level prevent those tasks from being run when using --limit and the group in question is not part of the limit (ex: running scale.yml on new worker nodes only) Instead, run on all hosts, and for each group, partition between that group and '_' (generic group name which is not used; using an empty string as the group is not supported by ansible.builtin.group_by) Reported-by: asteppat <[email protected]>
- Loading branch information
Showing
1 changed file
with
19 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters