allow more 'backwards compatible' vars_plugins (#25451)
allow more 'backwards compatible' vars_plugins (#25451)

* allow more 'backwards compatible' vars_plugins

* better version relying on exceptions

thaim/ansible,thaim/ansible