Trim `selinux_policytype` @ integration tests (#84136)

The shell command sometimes prints a trailing whitespace which breaks
the tests on old RHELs. This patch is supposed to fix that.
pull/83696/head
Sviatoslav Sydorenko (Святослав Сидоренко) 1 year ago committed by GitHub
parent c6e166319a
commit f7766cf843
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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:

Loading…
Cancel
Save