Added become method sudo

This commit is contained in:
2025-11-18 10:15:16 +01:00
parent c3065341f4
commit 27083bffe6

View File

@@ -1,7 +1,7 @@
- name: Usar su en lugar de sudo
hosts: all
become: yes
become_method: su
become_method: sudo
tasks:
- name: Verificar el usuario actual
command: whoami