Revert "don't tempalte register"

This reverts commit 7ba790bbaf.

Fixes #15700
This commit is contained in:
James Cammarata 2016-06-07 13:38:26 -05:00
parent 3ced6d3e90
commit a2c1247dff

View file

@ -245,13 +245,6 @@ 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