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