typo for func tests
---
- name: "set package_file from package_dir"
ansible.builtin.set_fact:
- package_file: "{{ package_dir }}/{{ ansible_facts.distribution_release }}/{{ ansible_facts.architecture.replace('x86_64', 'amd64') }}/crowdsec_*.deb"
+ package_file: "{{ package_dir }}/{{ ansible_facts.distribution_release }}/crowdsec_*{{ ansible_facts.architecture.replace('x86_64', 'amd64') }}.deb"
when:
- (package_dir is defined) and (package_dir | length > 0)
