Fix daemon_reload

This commit is contained in:
Wojciech Kozlowski 2022-12-28 21:17:25 +01:00
parent 7d339f1e59
commit 2d38001c6e
2 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,5 @@ argument_specs:
options: options:
services_host_services: services_host_services:
type: "list" type: "list"
elem: "str" elem: "dict"
required: true required: true

View File

@ -1,6 +1,6 @@
--- ---
- name: "daemon_reload : loop over services" - name: "daemon_reload : loop over services"
ansible.builtin.include_tasks: "daemon_reload/main.yml" ansible.builtin.include_tasks: "daemon_reload/main.yml"
loop: "{{ services_host_services }}" loop: "{{ services_host_services | dict2items | selectattr('key') }}"
loop_control: loop_control:
loop_var: "services_service_name" loop_var: "services_service_name"