From 13ab9eb238165c36cce996d3e6a25fa1d7cbdaf3 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 11 Sep 2017 22:55:05 +0300 Subject: [PATCH] Do not touch hostname and timezone Let's let the admin set them as they wish. We don't care what they are anyway. If other things run on the same server, it's also better not to hijack these for our own purposes, especially when we don't need to. The timedatectl call also seems to fail on Ubuntu 17.04 for some reason (missing timezones information file?). --- roles/matrix-server/tasks/setup_base.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/matrix-server/tasks/setup_base.yml b/roles/matrix-server/tasks/setup_base.yml index 598be601c..1caa89e5c 100644 --- a/roles/matrix-server/tasks/setup_base.yml +++ b/roles/matrix-server/tasks/setup_base.yml @@ -38,10 +38,3 @@ - name: Ensure SELinux disabled selinux: state=disabled - -- name: Ensure correct hostname set - hostname: name="{{ hostname_matrix }}" - -- name: Ensure timezone is UTC - timezone: - name: UTC \ No newline at end of file