selinux module removes newlines in 2.4.0.0 #30618
Labels
affects_2.4
This issue/PR affects Ansible v2.4
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
P2
Priority 2 - Issue Blocks Release
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
ISSUE TYPE
COMPONENT NAME
selinux
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
MacOS running Ansible
CentOS 6 target
SUMMARY
selinux module strips newlines from /etc/sysconfig/selinux
STEPS TO REPRODUCE
Before
After
EXPECTED RESULTS
Valuse changed in file and EOL chars left intact.
ACTUAL RESULTS
New lines removed, file invalid.
The text was updated successfully, but these errors were encountered: