From fcf527557d45c1aa79d44603258cbf34df4c4d45 Mon Sep 17 00:00:00 2001 From: "Martijn P. Rijkeboer" Date: Mon, 10 Nov 2014 20:00:28 +0100 Subject: [PATCH] Fix whitespace around '=' in sysctl.conf. --- lib/ansible/modules/system/sysctl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/system/sysctl.py b/lib/ansible/modules/system/sysctl.py index acf6395f071..979051e1f8e 100644 --- a/lib/ansible/modules/system/sysctl.py +++ b/lib/ansible/modules/system/sysctl.py @@ -278,10 +278,10 @@ class SysctlModule(object): checked.append(k) if k == self.args['name']: if self.args['state'] == "present": - new_line = "%s = %s\n" % (k, self.args['value']) + new_line = "%s=%s\n" % (k, self.args['value']) self.fixed_lines.append(new_line) else: - new_line = "%s = %s\n" % (k, v) + new_line = "%s=%s\n" % (k, v) self.fixed_lines.append(new_line) if self.args['name'] not in checked and self.args['state'] == "present":