Adding become to pre checks packages

To make sure that system packages are found with `which` in
distributions like Debian for example.
This commit is contained in:
Alejo Diaz 2022-01-06 09:45:23 -03:00
parent 473f3943d2
commit 4f0bb3f9a7
No known key found for this signature in database
GPG Key ID: FF146C79074B1CE0

View File

@ -6,6 +6,7 @@
changed_when: false
failed_when: false
register: check_k3s_required_package
become: "{{ k3s_become }}"
- name: Test that checks for {{ package.name }} passed
ansible.builtin.assert: