mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2025-01-07 10:10:19 +01:00
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:
parent
473f3943d2
commit
4f0bb3f9a7
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: check_k3s_required_package
|
register: check_k3s_required_package
|
||||||
|
become: "{{ k3s_become }}"
|
||||||
|
|
||||||
- name: Test that checks for {{ package.name }} passed
|
- name: Test that checks for {{ package.name }} passed
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
|
|
Loading…
Reference in a new issue