fix tagged implicit gathering (#48294)
* fix tagged implicit gathering - None is not tHe default anymore, its an empty list * Update changelogs/fragments/fix_taggged_gather.yml Co-Authored-By: bcoca <bcoca@users.noreply.github.com>
This commit is contained in:
parent
9050c7abeb
commit
b047591dee
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/fix_taggged_gather.yml
Normal file
2
changelogs/fragments/fix_taggged_gather.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- now default is ``list`` so ``None`` is bad comparison for gathering
|
|
@ -180,7 +180,7 @@ class PlayIterator:
|
|||
}
|
||||
|
||||
# Unless play is specifically tagged, gathering should 'always' run
|
||||
if self._play.tags is None:
|
||||
if not self._play.tags:
|
||||
setup_task.tags = ['always']
|
||||
|
||||
if gather_timeout:
|
||||
|
|
Loading…
Reference in a new issue