29 lines
974 B
Diff
29 lines
974 B
Diff
commit cafd95d0b03360d12e86170eb10fc1fc3dcade06
|
|
Author: Pavel Cahyna <pcahyna@redhat.com>
|
|
Date: Thu Jan 14 11:42:48 2021 +0100
|
|
|
|
Get rid of the extra final newline in string
|
|
|
|
Use the `-` chomping indicator to indicate that the trailing newline is
|
|
not intended as a part of the string.
|
|
https://yaml.org/spec/1.1/#chomping/
|
|
|
|
The trailing newline was causing an actual problem in the test.
|
|
|
|
Also use the `>` folded style, which is more appropriate here than the
|
|
`|` literal style.
|
|
|
|
diff --git a/tests/tests_ssh.yml b/tests/tests_ssh.yml
|
|
index 6d3699c..d3503f7 100644
|
|
--- a/tests/tests_ssh.yml
|
|
+++ b/tests/tests_ssh.yml
|
|
@@ -27,7 +27,7 @@
|
|
- include_role:
|
|
name: linux-system-roles.kdump
|
|
vars:
|
|
- kdump_ssh_user: |
|
|
+ kdump_ssh_user: >-
|
|
{{ hostvars[kdump_ssh_server_outside]['ansible_user_id'] }}
|
|
# This is the outside address. Ansible will connect to it to
|
|
# copy the ssh key.
|