Skip to content

Commit

Permalink
chore(lint): tasks/plugins.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adf-patrickha committed Jan 26, 2024
1 parent 32b4677 commit 6e6f332
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/plugins.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6e6f332

Please sign in to comment.