Skip to content
Unverified Commit 80b2765f authored by Max Gautier's avatar Max Gautier Committed by GitHub
Browse files

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: default avatarasteppat <asteppat@cisco.com>
parent bb4f1b11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment