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:
Brian Coca 2018-11-09 08:41:07 -05:00 committed by John R Barker
parent 9050c7abeb
commit b047591dee
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- now default is ``list`` so ``None`` is bad comparison for gathering

View file

@ -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: