issue #499: another totally moronic implementation difference

This commit is contained in:
David Wilson 2019-01-29 03:26:21 +00:00
parent 53794469a0
commit 9df314f9c5
1 changed files with 3 additions and 0 deletions

View File

@ -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"],
)