diff options
Diffstat (limited to 'ansible/roles/timezone')
-rw-r--r-- | ansible/roles/timezone/handlers/main.yml | 5 | ||||
-rw-r--r-- | ansible/roles/timezone/tasks/main.yml | 9 |
2 files changed, 14 insertions, 0 deletions
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 |