summaryrefslogtreecommitdiffstats
path: root/lib/ansible/modules/extras/system/timezone.py
diff options
context:
space:
mode:
authorShinichi TAMURA <shnch.tmr@gmail.com>2016-12-01 13:47:55 +0100
committerMatt Clay <matt@mystile.com>2016-12-08 17:35:12 +0100
commit335a28443d0efa8391f4b63213517b8325759281 (patch)
tree987ae9808599a709fcc746f84cf5f953b719a395 /lib/ansible/modules/extras/system/timezone.py
parentNative YAML - notifications (#3598) (diff)
downloadansible-335a28443d0efa8391f4b63213517b8325759281.tar.xz
ansible-335a28443d0efa8391f4b63213517b8325759281.zip
timezone: Fix TypeError
closes #3337
Diffstat (limited to '')
-rw-r--r--lib/ansible/modules/extras/system/timezone.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/extras/system/timezone.py b/lib/ansible/modules/extras/system/timezone.py
index a6b74c570f..3c920c4bff 100644
--- a/lib/ansible/modules/extras/system/timezone.py
+++ b/lib/ansible/modules/extras/system/timezone.py
@@ -310,8 +310,8 @@ class NosystemdTimezone(Timezone):
# Debian/Ubuntu
self.update_timezone = self.module.get_bin_path('dpkg-reconfigure', required=True)
self.update_timezone += ' --frontend noninteractive tzdata'
- self.conf_files['name'] = '/etc/timezone',
- self.conf_files['hwclock'] = '/etc/default/rcS',
+ self.conf_files['name'] = '/etc/timezone'
+ self.conf_files['hwclock'] = '/etc/default/rcS'
self.regexps['name'] = re.compile(r'^([^\s]+)', re.MULTILINE)
self.tzline_format = '%s\n'
else: