Commit 97a1ec3
committed
tests: Make effective config check work for container runs
In linux-system-roles/tox-lsr#191 we added
`ansible_become=false` to our container (podman/buildah) inventories.
This disables `become_user`, and thus the test was silently running as
root and thus failing. This isn't important for the stat tests (they are
fine to run as root), but `ssh` must actually run as the desired target
user.
This is just a test, so we can call `su` directly.1 parent 38e7879 commit 97a1ec3
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| |||
0 commit comments