raw now returns changed: true (#17112)

for consistency w/ shell/command/script "non-idempotent" modules.

Updated tests, changelog.
This commit is contained in:
Matt Davis
2016-08-16 20:39:23 -07:00
committed by GitHub
parent 81d7e132f9
commit e0bdb502e3
5 changed files with 16 additions and 7 deletions

View File

@@ -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