major refactoring

This commit is contained in:
2022-01-18 23:48:56 +01:00
parent 034332b237
commit fe83fd37f0
40 changed files with 501 additions and 433 deletions

View File

@@ -0,0 +1,13 @@
# {{ ansible_managed }}
{% for server in services_chrony_servers %}
server {{ server }} iburst nts
{% endfor %}
driftfile /var/lib/chrony/drift
makestep 1.0 3
rtcsync
keyfile /etc/chrony.keys
ntsdumpdir /var/lib/chrony
leapsectz right/UTC
logdir /var/log/chrony

View File

@@ -0,0 +1,12 @@
# {{ ansible_managed }}
[Unit]
Description=flatpak Automatic Update
Documentation=man:flatpak(1)
[Service]
Environment='DISPLAY={{ ansible_facts["env"]["DISPLAY"] }}'
Environment='DBUS_SESSION_BUS_ADDRESS={{ ansible_facts["env"]["DBUS_SESSION_BUS_ADDRESS"] }}'
Type=simple
ExecStartPre=nm-online
ExecStart=/usr/bin/flatpak update -y

View File

@@ -0,0 +1,12 @@
# {{ ansible_managed }}
[Unit]
Description=flatpak Automatic Update Trigger
Documentation=man:flatpak(1)
[Timer]
OnBootSec=3m
OnCalendar=*-*-* *:00:00
[Install]
WantedBy=timers.target

View File

@@ -0,0 +1,14 @@
# {{ ansible_managed }}
ALLOW_USERS='{{ item.value.allow_users }}'
ALLOW_GROUPS='{{ item.value.allow_groups }}'
TIMELINE_CREATE=yes
TIMELINE_CLEANUP=yes
TIMELINE_LIMIT_HOURLY="{{ item.value.keep_hourly }}"
TIMELINE_LIMIT_DAILY="{{ item.value.keep_daily }}"
TIMELINE_LIMIT_WEEKLY="{{ item.value.keep_weekly }}"
TIMELINE_LIMIT_MONTHLY="{{ item.value.keep_monthly }}"
TIMELINE_LIMIT_YEARLY="{{ item.value.keep_yearly }}"
FSTYPE="btrfs"
SUBVOLUME="{{ item.value.subvolume }}"