This commit is contained in:
alecsandruchirosca
2024-05-02 21:53:00 +03:00
parent a6273e7627
commit b35b92b831

View File

@@ -1,7 +1,7 @@
- hosts: all
tasks:
- name: get user
become: yes
become: true
become_method: sudo
become_user: root
ansible.builtin.command: whoami