From ab1d1e236a410e07a8a6109a6f4f26d27e413903 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 25 Feb 2018 10:16:37 +0100 Subject: wip --- ansible/roles/timezone/handlers/main.yml | 5 +++++ ansible/roles/timezone/tasks/main.yml | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 ansible/roles/timezone/handlers/main.yml create mode 100644 ansible/roles/timezone/tasks/main.yml (limited to 'ansible/roles/timezone') diff --git a/ansible/roles/timezone/handlers/main.yml b/ansible/roles/timezone/handlers/main.yml new file mode 100644 index 0000000..0bd7c0d --- /dev/null +++ b/ansible/roles/timezone/handlers/main.yml @@ -0,0 +1,5 @@ +--- +- 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 new file mode 100644 index 0000000..e60de32 --- /dev/null +++ b/ansible/roles/timezone/tasks/main.yml @@ -0,0 +1,9 @@ +--- +- tags: + - timezone + block: + - file: + src: /usr/share/zoneinfo/Europe/Oslo + dest: /etc/localtime + state: link + notify: reconfigure tzdata -- cgit v1.2.3