aboutsummaryrefslogtreecommitdiff
path: root/roles/host/tasks
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2024-08-29 17:02:38 -0400
committerspmfox <spmfox@foxwd.com>2024-08-29 17:02:38 -0400
commit72ca9f592b19e705a25f78786158df715aa62355 (patch)
treee072bdcdc76c625facc886f9da886370a97473ea /roles/host/tasks
parentf7e3f2ccb6b459d5be34c9d3834fd04d8138da01 (diff)
enabling the podman-auto-update.timer service by default
Diffstat (limited to 'roles/host/tasks')
-rw-r--r--roles/host/tasks/main.yml2
-rw-r--r--roles/host/tasks/systemd-podman-auto-update.yml5
2 files changed, 7 insertions, 0 deletions
diff --git a/roles/host/tasks/main.yml b/roles/host/tasks/main.yml
index 3b92a94..56451c1 100644
--- a/roles/host/tasks/main.yml
+++ b/roles/host/tasks/main.yml
@@ -8,6 +8,8 @@
- ansible.builtin.import_tasks: systemd-user-network-check.yml
+- ansible.builtin.import_tasks: systemd-podman-auto-update.yml
+
- ansible.builtin.import_tasks: unprivileged-port.yml
tags:
- never
diff --git a/roles/host/tasks/systemd-podman-auto-update.yml b/roles/host/tasks/systemd-podman-auto-update.yml
new file mode 100644
index 0000000..3bbb431
--- /dev/null
+++ b/roles/host/tasks/systemd-podman-auto-update.yml
@@ -0,0 +1,5 @@
+- name: Enable podman-auto-update.timer for all users
+ ansible.builtin.systemd_service:
+ name: "podman-auto-update.timer"
+ enabled: true
+ scope: "global"