diff --git a/roles/config-base-debian-os/handlers/main.yaml b/roles/config-base-debian-os/handlers/main.yaml index 459ccee..9cc3edf 100644 --- a/roles/config-base-debian-os/handlers/main.yaml +++ b/roles/config-base-debian-os/handlers/main.yaml @@ -13,4 +13,8 @@ # update grub - name: grub register - command: update-grub \ No newline at end of file + command: update-grub + +# update timezone +- name: update timezone + command: dpkg-reconfigure --frontend noninteractive tzdata \ No newline at end of file diff --git a/roles/config-base-debian-os/tasks/main.yaml b/roles/config-base-debian-os/tasks/main.yaml index bac460b..9e0f10a 100644 --- a/roles/config-base-debian-os/tasks/main.yaml +++ b/roles/config-base-debian-os/tasks/main.yaml @@ -25,6 +25,7 @@ value: "Europe" - question: "tzdata/Zones/Etc" value: "UTC" + notify: update timezone #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++