major refactoring
This commit is contained in:
13
roles/services/templates/chrony.conf.j2
Normal file
13
roles/services/templates/chrony.conf.j2
Normal 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
|
||||
12
roles/services/templates/flatpak-automatic.service.j2
Normal file
12
roles/services/templates/flatpak-automatic.service.j2
Normal 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
|
||||
12
roles/services/templates/flatpak-automatic.timer.j2
Normal file
12
roles/services/templates/flatpak-automatic.timer.j2
Normal 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
|
||||
14
roles/services/templates/snapper-config.j2
Normal file
14
roles/services/templates/snapper-config.j2
Normal 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 }}"
|
||||
Reference in New Issue
Block a user