From 610a7215bf7c82f2da20db0374bbb3e023068c49 Mon Sep 17 00:00:00 2001 From: Filipe Marcelino Date: Mon, 2 Sep 2024 01:16:38 +0100 Subject: [PATCH] Add become: true --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 7398c7b..9407f05 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,6 +25,7 @@ when: "ansible_version.full is version_compare('2.12', '<') or ansible_os_family not in ['RedHat', 'Debian']" - name: Install Docker packages (with downgrade option). + become: true package: name: "{{ docker_packages }}" state: "{{ docker_packages_state }}"