mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
Meta meta meta
This commit is contained in:
parent
33245b2011
commit
3a51587220
5 changed files with 111 additions and 159 deletions
|
@ -147,7 +147,7 @@ class Role(Base, Become, Conditional, Taggable):
|
|||
|
||||
# copy over all field attributes, except for when and tags, which
|
||||
# are special cases and need to preserve pre-existing values
|
||||
for (attr_name, _) in iteritems(self._get_base_attributes()):
|
||||
for (attr_name, _) in iteritems(self._valid_attrs):
|
||||
if attr_name not in ('when', 'tags'):
|
||||
setattr(self, attr_name, getattr(role_include, attr_name))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue