summaryrefslogtreecommitdiffstats
path: root/roles/timezone
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2026-06-23 10:17:53 +0200
committerAhmed AbdelHalim <[email protected]>2026-06-23 17:50:26 +0200
commit6903124e1fd0dfebfab2b8a17f8c910584260507 (patch)
treeb31474cddbfe7f525b24fe05126256908c20e664 /roles/timezone
parent89a94e9b2c42680184da5cd7063bf04b8626b367 (diff)
Fix testing
The timezone module was reading back the Etc/GMT instead of GMT, this fixes the issue and avoid unnecessary code that needs to handle different distro quirks (debian) Fix grafana testing to use the URL
Diffstat (limited to 'roles/timezone')
-rw-r--r--roles/timezone/tasks/main.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/timezone/tasks/main.yml b/roles/timezone/tasks/main.yml
index 4be677cf..bfc32f68 100644
--- a/roles/timezone/tasks/main.yml
+++ b/roles/timezone/tasks/main.yml
@@ -14,5 +14,7 @@
- name: "Update timezone"
become: true
- community.general.timezone:
- name: "{{ timezone }}"
+ ansible.builtin.copy:
+ content: "{{ timezone }}\n"
+ dest: "/etc/timezone"
+ mode: "0644"