This commit is contained in:
Sudheera Dulan 2026-05-27 22:08:08 -05:00 committed by GitHub
commit e2c8449d3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -399,7 +399,8 @@ class Role(Base, Conditional, Taggable, CollectionSearch, Delegatable):
},
},
'name': task_name,
'tags': ['always'],
# Unless role is specifically tagged, the tag is set to 'always'
'tags': ['always'] if not self.tags else self.tags,
}
def _load_role_yaml(self, subdir, main=None, allow_dir=False):