don't tempalte register

This commit is contained in:
Brian Coca 2016-03-02 11:54:41 -05:00
parent 7404d4ce7f
commit 7ba790bbaf

View file

@ -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