The first commit preserves whitespace before 'nullok', and squashes whitespace after it. Without this commit, the options string ends up with two spaces in a row when 'nullok' is removed.
The second commit adds "follow: yes" so that the replace module will follow the symlink and operate on the actual file, usually system-auth-ac, rather that replace the symlink with a modified copy of the file. Ansible 2.5 removes the "follow" option entirely and always modifies the linked file (as if follow=yes)
I'd prefer if you merged my pull request rather than squashed it.
The first commit preserves whitespace before 'nullok', and squashes whitespace after it. Without this commit, the options string ends up with two spaces in a row when 'nullok' is removed.
The second commit adds "follow: yes" so that the replace module will follow the symlink and operate on the actual file, usually system-auth-ac, rather that replace the symlink with a modified copy of the file. Ansible 2.5 removes the "follow" option entirely and always modifies the linked file (as if follow=yes)
I'd prefer if you merged my pull request rather than squashed it.