Use group root for /etc/localtime on Linux.

Arch Linux kept changing the group to root, so this change is to avoid unexpected "changed" entries in the ansible diff.
This commit is contained in:
Tom Alexander
2024-05-12 23:23:09 -04:00
parent c7610fe917
commit ee0fe7eca6
4 changed files with 17 additions and 10 deletions

View File

@@ -1,3 +1,11 @@
- name: Set timezone
file:
src: "/usr/share/zoneinfo/{{ timezone|default('UTC') }}"
dest: /etc/localtime
owner: root
group: wheel
state: link
- name: Install packages
package:
name: