mirror of
https://github.com/ansible/ansible.git
synced 2026-05-28 04:32:20 -04:00
Merge 11c95648b1 into ba21909655
This commit is contained in:
commit
e2c8449d3d
1 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue