mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #14757 from bcoca/register_no_template
don't template register
This commit is contained in:
commit
e432973310
1 changed files with 7 additions and 0 deletions
|
@ -229,6 +229,13 @@ class Task(Base, Conditional, Taggable, Become):
|
||||||
|
|
||||||
super(Task, self).post_validate(templar)
|
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):
|
def _post_validate_loop_args(self, attr, value, templar):
|
||||||
'''
|
'''
|
||||||
Override post validation for the loop args field, which is templated
|
Override post validation for the loop args field, which is templated
|
||||||
|
|
Loading…
Reference in a new issue