summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tasks/base.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/tasks/base.yml b/tasks/base.yml
index 7086ce9..623d209 100644
--- a/tasks/base.yml
+++ b/tasks/base.yml
@@ -123,10 +123,8 @@
# Useful for `getent passwd dynamic_user`
- libnss-systemd
-- name: Set /etc/timezone
- copy: dest=/etc/timezone content="Europe/Stockholm\n"
- owner=root group=root
- mode=0644
+- name: Set timezone
+ timezone: name=Europe/Stockholm
- name: Remove ~root/.ssh/authorized_keys
file: path=/root/.ssh/authorized_keys state=absent