diff --git a/tasks/check_services.yml b/tasks/check_services.yml index 97cf2cc..dd44d9e 100644 --- a/tasks/check_services.yml +++ b/tasks/check_services.yml @@ -21,7 +21,7 @@ register: bigboot_systemd_service_timeout loop: "{{ bigboot_systemd_running_services }}" -- name: Adding service to a list of services to disable for exceeding timeout threshold +- name: Adding services exceeding the timeout threshold to the list of services to disable ansible.builtin.set_fact: bigboot_services_disabled: "{{ bigboot_services_disabled | default([]) + [item['item']] }}" loop: "{{ bigboot_systemd_service_timeout['results'] }}" @@ -31,7 +31,7 @@ - item['item'] not in bigboot_protected_services - item['stdout'] | regex_replace('^.*=(.*$)', '\\1') | community.general.to_minutes >= bigboot_service_max_timeout | int -- name: Adding service to a list of services to disable for being incompatible +- name: Adding incompatible services to the list of services to disable ansible.builtin.set_fact: bigboot_services_disabled: "{{ bigboot_services_disabled | default([]) + [item] }}" loop: "{{ bigboot_incompatible_services }}"