From d4b4e15ebff6b8dbc0b814d701caceb4f8cd352f Mon Sep 17 00:00:00 2001 From: alecsandruchirosca Date: Thu, 2 May 2024 21:56:06 +0300 Subject: [PATCH] d --- update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.yml b/update.yml index 34d7a53..be2c239 100644 --- a/update.yml +++ b/update.yml @@ -1,9 +1,9 @@ - hosts: all + become: true + become_method: sudo + become_user: root tasks: - name: get user - become: true - become_method: sudo - become_user: root # uses_shell: true ansible.builtin.shell: whoami