issue #499: another totally moronic implementation difference

issue510
David Wilson 6 years ago
parent 53794469a0
commit 9df314f9c5

@ -22,6 +22,8 @@
raw: 'whoami'
register: raw
- debug: msg="x{{raw}}x"
# Can't test stdout because TTY inserts \r in Ansible version.
- name: Verify raw module output.
assert:
@ -33,6 +35,7 @@
- |
raw.stdout_lines|to_text in (
["\r\n"],
["", "root"],
["root\r\n"],
["root"],
)

Loading…
Cancel
Save