mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-04 17:48:52 +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:
parent
81d7e132f9
commit
e0bdb502e3
5 changed files with 16 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue