mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
75563d5325
commit
335a28443d
1 changed files with 2 additions and 2 deletions
|
@ -310,8 +310,8 @@ class NosystemdTimezone(Timezone):
|
||||||
# Debian/Ubuntu
|
# Debian/Ubuntu
|
||||||
self.update_timezone = self.module.get_bin_path('dpkg-reconfigure', required=True)
|
self.update_timezone = self.module.get_bin_path('dpkg-reconfigure', required=True)
|
||||||
self.update_timezone += ' --frontend noninteractive tzdata'
|
self.update_timezone += ' --frontend noninteractive tzdata'
|
||||||
self.conf_files['name'] = '/etc/timezone',
|
self.conf_files['name'] = '/etc/timezone'
|
||||||
self.conf_files['hwclock'] = '/etc/default/rcS',
|
self.conf_files['hwclock'] = '/etc/default/rcS'
|
||||||
self.regexps['name'] = re.compile(r'^([^\s]+)', re.MULTILINE)
|
self.regexps['name'] = re.compile(r'^([^\s]+)', re.MULTILINE)
|
||||||
self.tzline_format = '%s\n'
|
self.tzline_format = '%s\n'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue