diff options
author | James Cammarata <jimi@sngx.net> | 2015-09-01 10:56:22 -0400 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2015-09-01 11:02:42 -0400 |
commit | 3d282cd1b0c0bd387c88053d337e95c2ca0aa1ec (patch) | |
tree | be9c3af5e0b9160abd549fdeec50d74d01b56afc | |
parent | 12edbfeb0b61d7f376ddb7453be88196e80c9117 (diff) | |
download | ansible-3d282cd1b0c0bd387c88053d337e95c2ca0aa1ec.tar.gz |
Also always post_validate Handler class as well
Fixes #12154
-rw-r--r-- | lib/ansible/playbook/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/playbook/base.py b/lib/ansible/playbook/base.py index f8d4c91997..f0b94b2371 100644 --- a/lib/ansible/playbook/base.py +++ b/lib/ansible/playbook/base.py @@ -266,7 +266,7 @@ class Base: continue else: raise AnsibleParserError("the field '%s' is required but was not set" % name) - elif not attribute.always_post_validate and self.__class__.__name__ not in ('Task', 'PlayContext'): + elif not attribute.always_post_validate and self.__class__.__name__ not in ('Task', 'Handler', 'PlayContext'): # Intermediate objects like Play() won't have their fields validated by # default, as their values are often inherited by other objects and validated # later, so we don't want them to fail out early |