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:
parent
c7610fe917
commit
ee0fe7eca6
@ -29,15 +29,6 @@
|
|||||||
- meld
|
- meld
|
||||||
state: present
|
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
|
- name: Install scripts
|
||||||
copy:
|
copy:
|
||||||
src: "files/{{ item.src }}"
|
src: "files/{{ item.src }}"
|
||||||
|
@ -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
|
- name: Install packages
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
|
@ -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
|
- name: Install packages
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Check that rust-analyzer is valid for date on https://rust-lang.github.io/rustup-components-history/
|
# 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: 2024-04-29
|
||||||
rust_analyzer_version: package
|
rust_analyzer_version: package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user