mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Remove bare_deprecated functionality (#44517)
* Remove bare_deprecated functionality * Change tests due to bare_deprecated removal
This commit is contained in:
parent
df335d91b0
commit
88509e75ad
3 changed files with 8 additions and 13 deletions
|
@ -53,7 +53,7 @@ class ActionModule(ActionBase):
|
|||
|
||||
elif 'var' in self._task.args:
|
||||
try:
|
||||
results = self._templar.template(self._task.args['var'], convert_bare=True, fail_on_undefined=True, bare_deprecated=False)
|
||||
results = self._templar.template(self._task.args['var'], convert_bare=True, fail_on_undefined=True)
|
||||
if results == self._task.args['var']:
|
||||
# if results is not str/unicode type, raise an exception
|
||||
if not isinstance(results, string_types):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue