From d6066a89b710ff082c7c3746179b370e20a5d1cd Mon Sep 17 00:00:00 2001 From: spmfox Date: Mon, 8 Sep 2025 20:51:21 -0400 Subject: addressing idempotency, making quadlet troubleshooting more helpful --- roles/containers/tasks/quadlet_start.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/containers/tasks/quadlet_start.yml') diff --git a/roles/containers/tasks/quadlet_start.yml b/roles/containers/tasks/quadlet_start.yml index f2ec82b..d4c65c9 100644 --- a/roles/containers/tasks/quadlet_start.yml +++ b/roles/containers/tasks/quadlet_start.yml @@ -14,7 +14,7 @@ loop: "{{ containers_quadlets }}" register: quadlet_status failed_when: quadlet_status.stdout == 'failed' - + changed_when: false - name: Wait for quadlet state to be active or inactive ansible.builtin.shell: "systemctl --user is-active {{ item.name }}.service" @@ -24,5 +24,6 @@ register: quadlet_status until: quadlet_status.stdout in ['active', 'inactive'] failed_when: quadlet_status.stdout not in ['active', 'inactive'] + changed_when: false delay: 2 retries: 25 -- cgit