Add become: true

This commit is contained in:
Filipe Marcelino 2024-09-02 01:16:38 +01:00
parent 263376925b
commit 610a7215bf

View File

@ -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 }}"