mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
raw now returns changed: true (#17112)
for consistency w/ shell/command/script "non-idempotent" modules. Updated tests, changelog.
This commit is contained in:
@@ -9,7 +9,10 @@
|
||||
raw: echo 汉语
|
||||
register: command
|
||||
- name: check output of raw with unicode arg and output
|
||||
assert: { that: "'汉语' in command.stdout" }
|
||||
assert:
|
||||
that:
|
||||
- "'汉语' in command.stdout"
|
||||
- command | changed # as of 2.2, raw should default to changed: true for consistency w/ shell/command/script modules
|
||||
|
||||
### copy local file with unicode filename and content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user