You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Random Seed Error was a <class 'ansible.errors.AnsibleError'>, original message: Unexpected templating type error occurred / The only supported seed types are: None, int, float, str, bytes, and bytearray
#4298
Closed
tabacha opened this issue
Aug 23, 2024
· 1 comment
· Fixed by #4315
I believe this can occur due to some unexpected exception mangling when invoking the template function from src/ansiblelint/rules/jinja.py. Working on a patch; I will make a PR soon for this.
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Sep 6, 2024
Summary
When I use a radom filter with seed in a variable I get an error. Looks like it was there before in #3769
Issue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
Following Playbook:
Desired Behavior
Ansible lint should not find an error at all.
Actual Behavior
Ansible lint should not find an error at the second task
Please give some details of what is happening. Include a [minimum complete
verifiable example] with:
ansible-playbook --syntax-check playbook
The text was updated successfully, but these errors were encountered: