From d4b94ec6bbe97b4c18997864623c365483c1eddc Mon Sep 17 00:00:00 2001 From: Jonathan Mainguy Date: Sun, 2 Oct 2016 23:57:19 -0400 Subject: [PATCH] fix timezone for centos6 (#3078) --- lib/ansible/modules/extras/system/timezone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/system/timezone.py b/lib/ansible/modules/extras/system/timezone.py index 9c616d6123c..2f04801790d 100644 --- a/lib/ansible/modules/extras/system/timezone.py +++ b/lib/ansible/modules/extras/system/timezone.py @@ -52,7 +52,7 @@ options: to configure, especially on virtual environments such as AWS. required: false aliases: ['rtc'] -author: "Shinichi TAMURA @tmshn" +author: "Shinichi TAMURA (@tmshn)" ''' RETURN = ''' @@ -402,7 +402,7 @@ class NosystemdTimezone(Timezone): def set_timezone(self, value): self._edit_file(filename=self.conf_files['name'], regexp=self.regexps['name'], - value=self.tzline_format.format % value) + value=self.tzline_format % value) self.execute(self.update_timezone) def set_hwclock(self, value):