issue #499: another totally moronic implementation difference

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

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

Loading…
Cancel
Save