aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/timezone
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2020-12-26 14:30:47 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2020-12-26 14:30:47 +0100
commit4dd314376968d99abe67e1c49ad8032d3a2b96c2 (patch)
treeceea8979022ede8f489a5ee0ef3afc920d75001b /ansible/roles/timezone
parent9e4e02fdfb5a9e038c5e09a38fa51b457164156b (diff)
downloadinfra-4dd314376968d99abe67e1c49ad8032d3a2b96c2.tar.gz
infra-4dd314376968d99abe67e1c49ad8032d3a2b96c2.tar.bz2
infra-4dd314376968d99abe67e1c49ad8032d3a2b96c2.tar.xz
infra-4dd314376968d99abe67e1c49ad8032d3a2b96c2.zip
fixes
Diffstat (limited to 'ansible/roles/timezone')
-rw-r--r--ansible/roles/timezone/handlers/main.yml4
-rw-r--r--ansible/roles/timezone/tasks/main.yml4
2 files changed, 3 insertions, 5 deletions
diff --git a/ansible/roles/timezone/handlers/main.yml b/ansible/roles/timezone/handlers/main.yml
index daf0f5f..1faf38e 100644
--- a/ansible/roles/timezone/handlers/main.yml
+++ b/ansible/roles/timezone/handlers/main.yml
@@ -1,3 +1,3 @@
----
-- name: reconfigure tzdata
+- become: yes
+ name: reconfigure tzdata
shell: dpkg-reconfigure -f noninteractive tzdata
diff --git a/ansible/roles/timezone/tasks/main.yml b/ansible/roles/timezone/tasks/main.yml
index 3b81702..672dca7 100644
--- a/ansible/roles/timezone/tasks/main.yml
+++ b/ansible/roles/timezone/tasks/main.yml
@@ -1,6 +1,4 @@
----
-- tags:
- - timezone
+- become: yes
file:
src: /usr/share/zoneinfo/Europe/Oslo
dest: /etc/localtime