mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
don't tempalte register
This commit is contained in:
@@ -229,6 +229,13 @@ class Task(Base, Conditional, Taggable, Become):
|
||||
|
||||
super(Task, self).post_validate(templar)
|
||||
|
||||
def _post_validate_register(self, attr, value, templar):
|
||||
'''
|
||||
Override post validation for the register args field, which is not
|
||||
supposed to be templated
|
||||
'''
|
||||
return value
|
||||
|
||||
def _post_validate_loop_args(self, attr, value, templar):
|
||||
'''
|
||||
Override post validation for the loop args field, which is templated
|
||||
|
||||
Reference in New Issue
Block a user