[2.18] Trim selinux_policytype @ integration tests (#84137)
The shell command sometimes prints a trailing whitespace which breaks
the tests on old RHELs. This patch is supposed to fix that.
(cherry picked from commit cd74c4bcd5)
This commit is contained in:
committed by
GitHub
parent
eaec3748c5
commit
cfdafb9bb6
@ -22,7 +22,7 @@
|
||||
register: r
|
||||
|
||||
- set_fact:
|
||||
selinux_policytype: "{{ r.stdout_lines[0] }}"
|
||||
selinux_policytype: "{{ r.stdout_lines[0] | trim }}"
|
||||
when: r is success and r.stdout_lines
|
||||
|
||||
- assert:
|
||||
|
||||
Reference in New Issue
Block a user