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
When executing the puppet agent via ansible on a remote host, the command fails with invalid byte sequence in US-ASCII.
Executing the puppet agent on the remote host via a shell the command successfully ends with return code 0.
It looks due to shell environment used by ansible to execute the command the shell is not utf-8 compatible
Issue Type
Bug Report
Component Name
puppet
Ansible Version
$ ansible --versionansible [core 2.14.6]
Community.general Version
$ ansible-galaxy collection list community.generalcommunity.general 8.3.0
Because of the dependency to puppet and the puppet code I cannot give an example to reproduce the bug. The latest puppet 7 version is used as a server and agent
This is the ansible code used to invoke the module
Summary
When executing the puppet agent via ansible on a remote host, the command fails with
invalid byte sequence in US-ASCII
.Executing the puppet agent on the remote host via a shell the command successfully ends with return code 0.
It looks due to shell environment used by ansible to execute the command the shell is not utf-8 compatible
Issue Type
Bug Report
Component Name
puppet
Ansible Version
Community.general Version
Configuration
OS / Environment
Local: Ubuntu 23.10
Remote: Ubuntu 22.04
Steps to Reproduce
Because of the dependency to puppet and the puppet code I cannot give an example to reproduce the bug. The latest puppet 7 version is used as a server and agent
This is the ansible code used to invoke the module
Expected Results
I expect that the puppet run finishes with return code 0 or 2 (puppet specifies this as success but changes were executed).
Actual Results
From the puppet logs
Error: Could not prefetch <module>: invalid byte sequence in US-ASCII
Code of Conduct
The text was updated successfully, but these errors were encountered: