ansible/ansible-modules-core — pull request #171 by merenbach (2014-10-10 16:50:55+00:00)
Title: Don't put spaces around equals sign in sysctl entries

Don't add spaces around the equals sign of sysctl entries when rewriting.

**Background:** FreeBSD doesn't like spaces around the equals sign in sysctl entries: `vfs.usermount=1` is valid syntax there, while `vfs.usermount = 1` is not.

**Expected behavior:** When adding one ore more sysctl entries in a playbook, no spaces exist around equals signs for any of those entries when the playbook is complete. This works equally on Linux and FreeBSD.

**Current behavior:** When adding a sysctl entry, no spaces are placed around the equals sign of the added entry (good!). `fix_lines()` rewrites other entries, however, to have the equals sign, so if I add three entries in one playbook, two of them have spaces around the equals sign when the playbook is done (bad!).

**Fix behavior:** Don't add spaces to either side of the equals sign in written/rewritten lines.