From 4f0bb3f9a7fc09e5fe458e8fc70bb990907a0693 Mon Sep 17 00:00:00 2001 From: Alejo Diaz Date: Thu, 6 Jan 2022 09:45:23 -0300 Subject: [PATCH] Adding become to pre checks packages To make sure that system packages are found with `which` in distributions like Debian for example. --- tasks/pre_checks_packages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/pre_checks_packages.yml b/tasks/pre_checks_packages.yml index 99913f3..bd31dc7 100644 --- a/tasks/pre_checks_packages.yml +++ b/tasks/pre_checks_packages.yml @@ -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: