This commit is contained in:
alecsandruchirosca
2024-05-02 21:52:24 +03:00
parent fe658f5740
commit a6273e7627

View File

@@ -2,6 +2,8 @@
tasks: tasks:
- name: get user - name: get user
become: yes become: yes
become_method: sudo
become_user: root
ansible.builtin.command: whoami ansible.builtin.command: whoami
# - name: Run whoami without become. # - name: Run whoami without become.