mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
respect undefined config setting
This commit is contained in:
parent
40336b50af
commit
f29c1c7452
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ class PlaybookExecutor:
|
|||
# Create a temporary copy of the play here, so we can run post_validate
|
||||
# on it without the templating changes affecting the original object.
|
||||
all_vars = self._variable_manager.get_vars(loader=self._loader, play=play)
|
||||
templar = Templar(loader=self._loader, variables=all_vars, fail_on_undefined=False)
|
||||
templar = Templar(loader=self._loader, variables=all_vars)
|
||||
new_play = play.copy()
|
||||
new_play.post_validate(templar)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue