Trim `selinux_policytype` @ integration tests

The shell command sometimes prints a trailing whitespace which breaks
the tests on old RHELs. This patch is supposed to fix that.
pull/84136/head
Sviatoslav Sydorenko 1 year ago
parent c6e166319a
commit cd74c4bcd5
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455

@ -22,7 +22,7 @@
register: r register: r
- set_fact: - set_fact:
selinux_policytype: "{{ r.stdout_lines[0] }}" selinux_policytype: "{{ r.stdout_lines[0] | trim }}"
when: r is success and r.stdout_lines when: r is success and r.stdout_lines
- assert: - assert:

Loading…
Cancel
Save