From 6e6f3327a435a298b29b36948658610b73aa462f Mon Sep 17 00:00:00 2001 From: Patrick Hasler Date: Fri, 26 Jan 2024 13:08:37 +0100 Subject: [PATCH] chore(lint): tasks/plugins.yml --- tasks/plugins.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/plugins.yml b/tasks/plugins.yml index b32ee1f..6e087df 100644 --- a/tasks/plugins.yml +++ b/tasks/plugins.yml @@ -1,12 +1,12 @@ --- -- name: Get Bareos plugin package names +- name: plugins | Get Bareos plugin package names ansible.builtin.set_fact: - #_plugin_packages: "{{ bareos_fd_plugin_list[item.name].package_name }}" - _plugin_packages: "{{ bareos_fd_plugin_list | selectattr('name', 'match', item.name ) | map(attribute='package_name') }}" + _plugin_packages: + "{{ bareos_fd_plugin_list | selectattr('name', 'match', item.name) | map(attribute='package_name') }}" loop: "{{ bareos_fd_plugins }}" -- name: Install Bareos plugin packages +- name: plugins | Install Bareos plugin packages ansible.builtin.package: name: "{{ _plugin_packages }}" state: present