diff options
| author | spmfox <spmfox@foxwd.com> | 2025-09-10 14:27:53 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2025-09-10 14:27:53 -0400 |
| commit | 23a0f4aecd3dc915b1b90600ec2a1ce67e36cac8 (patch) | |
| tree | dd880b7c2ff21012b503ebc074951afd13ca2618 /roles/containers | |
| parent | 4c95d179e7e617891f6ef19a2437518de27b9fa7 (diff) | |
fixing systemd file logicdev
Diffstat (limited to 'roles/containers')
| -rw-r--r-- | roles/containers/tasks/systemd_start.yml | 3 | ||||
| -rw-r--r-- | roles/containers/tasks/systemd_stop.yml | 1 |
2 files changed, 3 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}}" diff --git a/roles/containers/tasks/systemd_stop.yml b/roles/containers/tasks/systemd_stop.yml index 51e4d72..e534b1c 100644 --- a/roles/containers/tasks/systemd_stop.yml +++ b/roles/containers/tasks/systemd_stop.yml @@ -2,6 +2,7 @@ ansible.builtin.systemd_service: name: "{{ item.name }}" state: "stopped" + enabled: false scope: "user" loop_control: label: "{{ item.name}}" |
