Instead of using a when clause around the inclusion of the dynamic-grouping task, use a new var, 'group_when' that's only applied within the task. This will avoid checking localhost for a hostvar which doesn't actually apply and may not exist. Change-Id: I44fa2b0e5b62f632c4b2fe2cc453d08692d97544
824 B
824 B