aboutsummaryrefslogtreecommitdiff
path: root/roles/containers/tasks/systemd_start.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/containers/tasks/systemd_start.yml')
-rw-r--r--roles/containers/tasks/systemd_start.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/containers/tasks/systemd_start.yml b/roles/containers/tasks/systemd_start.yml
index f69f35d..42e7d40 100644
--- a/roles/containers/tasks/systemd_start.yml
+++ b/roles/containers/tasks/systemd_start.yml
@@ -1,7 +1,8 @@
-- name: Start systemd service
+- name: Start and enable systemd service
ansible.builtin.systemd_service:
name: "{{ item.name }}"
state: "started"
+ enabled: true
scope: "user"
loop_control:
label: "{{ item.name}}"