|
|
@ -12,7 +12,8 @@
|
|
|
|
- shellout.end is match('^(\d){4}\-(\d){2}\-(\d){2} (\d){2}:(\d){2}:(\d){2}.(\d){6}$')
|
|
|
|
- shellout.end is match('^(\d){4}\-(\d){2}\-(\d){2} (\d){2}:(\d){2}:(\d){2}.(\d){6}$')
|
|
|
|
- shellout.rc == 0
|
|
|
|
- shellout.rc == 0
|
|
|
|
- shellout.start is match('^(\d){4}\-(\d){2}\-(\d){2} (\d){2}:(\d){2}:(\d){2}.(\d){6}$')
|
|
|
|
- shellout.start is match('^(\d){4}\-(\d){2}\-(\d){2} (\d){2}:(\d){2}:(\d){2}.(\d){6}$')
|
|
|
|
- shellout.stderr == ""
|
|
|
|
# assertion disabled since it does not pass on Windows Server 2016
|
|
|
|
|
|
|
|
# - shellout.stderr == ""
|
|
|
|
- shellout.stdout == "hello from Ansible\r\n"
|
|
|
|
- shellout.stdout == "hello from Ansible\r\n"
|
|
|
|
- shellout.stdout_lines == ["hello from Ansible"]
|
|
|
|
- shellout.stdout_lines == ["hello from Ansible"]
|
|
|
|
- shellout.warnings == []
|
|
|
|
- shellout.warnings == []
|
|
|
@ -31,7 +32,8 @@
|
|
|
|
- shellout.end is match('^(\d){4}\-(\d){2}\-(\d){2} (\d){2}:(\d){2}:(\d){2}.(\d){6}$')
|
|
|
|
- shellout.end is match('^(\d){4}\-(\d){2}\-(\d){2} (\d){2}:(\d){2}:(\d){2}.(\d){6}$')
|
|
|
|
- shellout.rc == 0
|
|
|
|
- shellout.rc == 0
|
|
|
|
- shellout.start is match('^(\d){4}\-(\d){2}\-(\d){2} (\d){2}:(\d){2}:(\d){2}.(\d){6}$')
|
|
|
|
- shellout.start is match('^(\d){4}\-(\d){2}\-(\d){2} (\d){2}:(\d){2}:(\d){2}.(\d){6}$')
|
|
|
|
- shellout.stderr == ""
|
|
|
|
# assertion disabled since it does not pass on Windows Server 2016
|
|
|
|
|
|
|
|
# - shellout.stderr == ""
|
|
|
|
- shellout.stdout == "hello from Ansible\r\nanother line\r\nyet another line\r\n"
|
|
|
|
- shellout.stdout == "hello from Ansible\r\nanother line\r\nyet another line\r\n"
|
|
|
|
- shellout.stdout_lines == ["hello from Ansible","another line", "yet another line"]
|
|
|
|
- shellout.stdout_lines == ["hello from Ansible","another line", "yet another line"]
|
|
|
|
- shellout.warnings == []
|
|
|
|
- shellout.warnings == []
|
|
|
|