-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWX task fail with AnsibleUnsafeBytes for yaml collapsed string #15161
Comments
jon-nfc
changed the title
AWX task fail with AnsibleUnsafeBytes when cli doesn't
AWX task fail with AnsibleUnsafeBytes for yaml collapsed string
May 1, 2024
nfc-robot
pushed a commit
to nofusscomputing/ansible_collection_kubernetes
that referenced
this issue
May 2, 2024
nfc-robot
pushed a commit
to nofusscomputing/ansible_collection_kubernetes
that referenced
this issue
May 2, 2024
nfc-robot
pushed a commit
to nofusscomputing/ansible_collection_kubernetes
that referenced
this issue
May 2, 2024
nfc-robot
added a commit
to nofusscomputing/ansible_collection_kubernetes
that referenced
this issue
May 2, 2024
nfc-robot
pushed a commit
to nofusscomputing/execution_environment
that referenced
this issue
May 2, 2024
nfc-robot
pushed a commit
to nofusscomputing/ansible_collection_kubernetes
that referenced
this issue
May 2, 2024
This reverts commit 9fa3b23. The bug was within awx-core 2.16.1 as upgrading to 2.16.6 fixed the problem !63 !61 nofusscomputing/projects/ansible/execution_environment!255 closes ansible/awx#15161
closing as issue was corrected by updating to ansible-core 2.16.6 from 2.16.1 |
nfc-robot
pushed a commit
to nofusscomputing/ansible_collection_kubernetes
that referenced
this issue
May 2, 2024
This reverts commit 9fa3b23. The bug was within awx-core 2.16.1 as upgrading to 2.16.6 fixed the problem !63 !61 nofusscomputing/projects/ansible/execution_environment!255 closes ansible/awx#15161
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please confirm the following
security@ansible.com
instead.)Bug Summary
A yaml collapsed string with jinja fails with error
AnsibleUnsafeBytes.__format__. unsupported format string passed to AnsibleUnsafeBytes.__format__
when it should not have for a string. this task does not fail when run via CLI.AWX version
23.9.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
2.16.1
Operating system
k3s 1.29
Web browser
No response
Steps to reproduce
use the foollowing task in play:
where:
Expected results
A yaml collapsed string
|-
or>-
by never return errorAnsibleUnsafeBytes.__format__. unsupported
. when the type is clearly a yaml stringActual results
error:
Additional information
No response
The text was updated successfully, but these errors were encountered: