mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-23 06:21:43 -07:00
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
|
@ -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…
Add table
Add a link
Reference in a new issue