aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/timezone
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/timezone')
-rw-r--r--ansible/roles/timezone/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/timezone/tasks/main.yml b/ansible/roles/timezone/tasks/main.yml
index e60de32..0a7744a 100644
--- a/ansible/roles/timezone/tasks/main.yml
+++ b/ansible/roles/timezone/tasks/main.yml
@@ -2,7 +2,8 @@
- tags:
- timezone
block:
- - file:
+ - become: yes
+ file:
src: /usr/share/zoneinfo/Europe/Oslo
dest: /etc/localtime
state: link