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
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
4 changed files with 17 additions and 10 deletions

View File

@ -29,15 +29,6 @@
- meld
state: present
- name: Set timezone
file:
src: "/usr/share/zoneinfo/{{ timezone|default('UTC') }}"
dest: /etc/localtime
owner: root
# TODO: Arch Linux is changing the group to root instead of wheel. Maybe make this a variable?
group: wheel
state: link
- name: Install scripts
copy:
src: "files/{{ item.src }}"

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:

View File

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

View File

@ -1,4 +1,4 @@
# Check that rust-analyzer is valid for date on https://rust-lang.github.io/rustup-components-history/
rust_date: "2024-04-29"
rust_date: "2024-05-06"
# rust_analyzer_version: 2024-04-29
rust_analyzer_version: package