multiline shell fails on FreeBSD #32853
Labels
affects_2.4
This issue/PR affects Ansible v2.4
bsd
BSD community
bug
This issue/PR relates to a bug.
commands
Commands category
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
shell
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
FreeBSD 11.1-RELEASE-p1 server
FreeBSD 11.1-RELEASE-p1 client
SUMMARY
quoted multiline shell command is treated as separate commands.
STEPS TO REPRODUCE
EXPECTED RESULTS
server_env.stdout multiline content gets piped into logger. This worked fine in ansible 2.3. And stilll works fine in 2.4 on Linux client.
ACTUAL RESULTS
Shell module fails.
Each line of server_env.stdout is treated as separate command, despite all newlines are inside quotes.
The text was updated successfully, but these errors were encountered: