diff options
| author | spmfox <spmfox@foxwd.com> | 2024-08-29 15:33:54 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2024-08-29 15:33:54 -0400 |
| commit | 31bc4f2c269ce5c66cec4dfbd9a2ce7697d1dba0 (patch) | |
| tree | c9da4e957715e1d5e4a8f11b055f2c3ae2652159 /roles/containers/tasks/quadlet_start.yml | |
| parent | 2453f089caff5963f0848321a4443990f6077298 (diff) | |
updating unprivileged-ports logic, updating containers variables, adding variable for the unprivileged-ports
Diffstat (limited to 'roles/containers/tasks/quadlet_start.yml')
| -rw-r--r-- | roles/containers/tasks/quadlet_start.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/containers/tasks/quadlet_start.yml b/roles/containers/tasks/quadlet_start.yml index 5dcd39a..ade3da6 100644 --- a/roles/containers/tasks/quadlet_start.yml +++ b/roles/containers/tasks/quadlet_start.yml @@ -5,13 +5,13 @@ scope: "user" loop_control: label: "{{ item.name}}.service" - loop: "{{ quadlets }}" + loop: "{{ containers_quadlets }}" - name: Check for quadlet not in active or activating state ansible.builtin.shell: "systemctl --user is-active {{ item.name }}.service" loop_control: label: "{{ item.name}}.service: {{ quadlet_status.stdout }}" - loop: "{{ quadlets }}" + loop: "{{ containers_quadlets }}" register: quadlet_status failed_when: quadlet_status.stdout not in ['active', 'activating'] @@ -20,7 +20,7 @@ ansible.builtin.shell: "systemctl --user is-active {{ item.name }}.service" loop_control: label: "{{ item.name}}.service: {{ quadlet_status.stdout }}" - loop: "{{ quadlets }}" + loop: "{{ containers_quadlets }}" register: quadlet_status until: quadlet_status.stdout == 'active' delay: 2 |
