mirror of https://github.com/ansible/ansible.git
Mark playbook objects as finalized after post_validate
After post_validate() is called on an object, there should be no need to continue looking up at parent attributes. This patch adds a new flag (_finalized) which is set to True at the end of post_validate, and getattr will not look beyond its own attributes from that point on.pull/17019/head
parent
375f7c515a
commit
7503875ed7
Loading…
Reference in New Issue