summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/script.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/script.py')
-rw-r--r--lib/ansible/modules/script.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ansible/modules/script.py b/lib/ansible/modules/script.py
index 2cefc0a4bb..fa2eea601d 100644
--- a/lib/ansible/modules/script.py
+++ b/lib/ansible/modules/script.py
@@ -47,6 +47,8 @@ notes:
stderr is sent to stdout. If you depend on separated stdout and stderr result keys, please switch to a copy+command set of tasks instead of using script.
- If the path to the local script contains spaces, it needs to be quoted.
- This module is also supported for Windows targets.
+ - If the script returns non UTF-8 data, it must be encoded to avoid issues. One option is to pipe
+ the output through C(base64).
seealso:
- module: ansible.builtin.shell
- module: ansible.windows.win_shell